gradle / gradle-jdocbook

A Gradle plugin for jdocbook
13 stars 14 forks source link

Use @InputFiles instead of @Input to implicitly register dependencies #19

Open swltr opened 9 years ago

swltr commented 9 years ago

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.)