I want to add up-to-date verification’s. If someone of the files is missing, I want to have non-up-to-date. I’m using: task1.outputs.files(“path1/file2.xml”, path2/file2.xml"). When I remove first file - working properly, but when remove second - gradle don’t see it. I need “or” between files, how to use it ? Thanks in advance.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Task is always up-to-date even when task.outputs.files changed on disk | 1 | 632 | August 23, 2017 | |
| Declaring many output files for a task | 1 | 730 | February 12, 2013 | |
| Can inputs and outputs use wildcards | 2 | 2015 | September 26, 2012 | |
| Short-circuit dependency chain if task outputs exist | 5 | 1139 | March 6, 2020 | |
| Gradle says "Output file has been removed" -- but it hasn't been | 10 | 6278 | August 28, 2017 |