This message was deleted.
# community-support
s
This message was deleted.
v
Do you also have other skipwhenempty inputfile properties? iirc the task is only skipped if all of them are empty, but I might remember wrongly.
r
interesting. you seem to be right as it is working now. Didn't think about that and havn't found any documentation for that behaviour. thx
v
In the table with all the annotations:
Used with @InputFiles or @InputDirectory to tell Gradle to skip the task if the corresponding files or directory are empty, along with all other input files declared with this annotation.
And in the JavaDoc of the annotation:
If all of the inputs declared with this annotation are empty, the task will be skipped with a "NO-SOURCE" message.
r
thanks for the pointer...
🤦‍♂️
v
🙂
It's like me asking in the super market "where did you hide product X now?" and the employees lead me to the place where I looked 5 times already. 😄
r
yeah something like that 😄