Input

Attached to a task property to indicate that the property specifies some input value for the 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 property has changed. This annotation cannot be used on a java.io.File object. If you want to refer to the file path, independently of its contents, return a String instead which returns the absolute path. If, instead, you want to refer to the contents and path of a file or a directory, use org.gradle.api.tasks.InputFile or org.gradle.api.tasks.InputDirectory respectively.

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String