Search in sources :

Example 1 with AnnotationProcessorDetector

use of org.gradle.api.internal.tasks.compile.AnnotationProcessorDetector in project gradle by gradle.

the class GroovyCompile method calculateAnnotationProcessorClasspath.

private List<File> calculateAnnotationProcessorClasspath() {
    AnnotationProcessorDetector annotationProcessorDetector = getServices().get(AnnotationProcessorDetector.class);
    FileCollection processorClasspath = annotationProcessorDetector.getEffectiveAnnotationProcessorClasspath(compileOptions, getClasspath());
    return Lists.newArrayList(processorClasspath);
}
Also used : AnnotationProcessorDetector(org.gradle.api.internal.tasks.compile.AnnotationProcessorDetector) FileCollection(org.gradle.api.file.FileCollection)

Aggregations

FileCollection (org.gradle.api.file.FileCollection)1 AnnotationProcessorDetector (org.gradle.api.internal.tasks.compile.AnnotationProcessorDetector)1