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

getAnnotationProcessorPath

@Internal open fun getAnnotationProcessorPath(): FileCollection

Returns the classpath to use to load annotation processors. This path is also used for annotation processor discovery. If set to null, it means use the compile classpath.

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

Since
3.4