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

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

$
0
0

Hi Marcin,

what do you need the location of additionalClasspathFile apart from to know where you want to produce the generated file? Since that is what @OutputFile already tracks. If you change the location, then the task will re-run since there isn’t a file at the new location. That is why @Input is not allowed.

Cheers,
Stefan


Viewing all articles
Browse latest Browse all 20726

Trending Articles