InputFiles (Gradle API 9.6.0)
Description: declaration: package: org.gradle.api.tasks, annotation type: InputFiles

Package org.gradle.api.tasks

# Annotation Type InputFiles

@Documented @Retention(RUNTIME) @Target({METHOD,FIELD}) public @interface InputFiles

Marks a property as specifying the input files for a task.

This annotation should be attached to the getter method in Java or the property in Groovy. Annotations on setters or just the field in Java are ignored.

This will cause the task to be considered out-of-date when the file paths or contents have changed. The order of the files does not affect up-to-date checks. If order sensitivity is required (for example, for a classpath), use a different annotation.

See Also:
  - `Classpath`
  - `InputDirectory`