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 with one or more output files | 4 | 5151 | October 10, 2018 | |
Basic question on outputs management | 2 | 451 | March 29, 2017 | |
Task is always up-to-date even when task.outputs.files changed on disk | 1 | 612 | August 23, 2017 | |
Gradle says "Output file has been removed" -- but it hasn't been | 10 | 6176 | August 28, 2017 | |
Task up-to-date but OutputFile not created | 1 | 1455 | May 12, 2016 |