The plugin applies these plugins:


The plugin makes easier to use Java annotation processors. First of all, it configures JavaCompile tasks and sets up a dir for generated sources by annotation-processors.

For backward compatibility purposes the plugin creates apt configuration. For Gradle version 4.6 and above all annotationProcessor configurations extend this configuration. For older Gradle version all compileOnly configurations extend this configuration.


The plugin adds aptOptions extension of type AptOptions.

Property Type Description
processorArgs MutableMap<String, Any?> Annotation processors arguments. They will be added as command-line arguments like -A<key>=<value>