api / org.gradle.api.tasks.compile / CompileOptions / setAnnotationProcessorPath

setAnnotationProcessorPath

open fun setAnnotationProcessorPath(annotationProcessorPath: FileCollection): Unit

Set the classpath to use to load annotation processors. This path is also used for annotation processor discovery. The value can be null, which means use the compile classpath.

Parameters

annotationProcessorPath - The annotation processor path, or null to use the compile classpath.

Since
3.4