Package org.gradle.api.tasks
Annotation Type Classpath
-
@Documented @Retention(RUNTIME) @Target({METHOD,FIELD}) @Incubating public @interface Classpath
Marks a property as specifying a JVM classpath 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.
Note: to stay compatible with versions prior to Gradle 3.2, classpath properties need to be annotated with @
InputFiles
as well.- Since:
- 3.2