A while ago I had a bug while implementing these tasks that a folder was declared as input, but when I queried
task.inputs.files
it was not outputted. Using
@IgnoreEmptyDirectories
saved me back then.
Romulo Ruas
03/08/2023, 10:24 AM
I think I found the issue. One of the inputs of my task is a fileTree, and apparently when Gradle checks for the reported behavior it does not take into account its includes and excludes.