According to the discussion in the Gradle forum, @InputFiles would be the correct annotation to implicitly register a task's dependencies. With @Input, I still have to explicitly register dependencies so that tasks are executed in the correct order. (Please note that I was unable to test this myself, yet - I'm not too familiar with Gradle plugin development so far, but it compiles and looks correct according to the Gradle API documentation.)
According to the discussion in the Gradle forum,
@InputFiles
would be the correct annotation to implicitly register a task's dependencies. With@Input
, I still have to explicitly register dependencies so that tasks are executed in the correct order. (Please note that I was unable to test this myself, yet - I'm not too familiar with Gradle plugin development so far, but it compiles and looks correct according to the Gradle API documentation.)