Path Sensitive
Annotates a task file property, specifying which part of the file paths should be considered during up-to-date checks.
This annotation should be attached to the getter method in Java or the property in Groovy. In Kotlin, use the get: use-site target to attach it to the property getter, for example @get:PathSensitive(PathSensitivity.RELATIVE). This also works on abstract properties, where the annotation without a use-site target does not compile. Annotations on setters or just the field in Java are ignored.
If a org.gradle.api.Task declares a file property without this annotation, the default is ABSOLUTE.
Since
3.1