Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 19870

Mixing @Input and @OutputFile in one task field with Gradle 6+

$
0
0

Thanks Stefan for your reply.

There could be some other task which consumes that file and depends on the first task execution.

However, if I understood you correctly, if Task A changes content of a file ("${buildDir}/xxx") and Task B has that file (its location) set as @Input (and Task B depends on Task A), would it (Task B) be marked as dirty due to the content of that file change (without the need to mark that file as @OutputFile in Task A)?


Viewing all articles
Browse latest Browse all 19870

Trending Articles