gradle
8.6

# setAnnotationProcessorPath

abstract fun setAnnotationProcessorPath(annotationProcessorPath: FileCollection)(source)

Set the classpath to use to load annotation processors when compiling this source set. This path is also used for annotation processor discovery. The classpath can be empty, which means use the compile classpath; if you want to disable annotation processing, then use `-proc:none` as a compiler argument.

#### Parameters

annotationProcessorPath

The annotation processor path. Should not be null.