name.remal.apt

Plugin class: name.remal.gradle_plugins.plugins.java.AptPlugin

plugins {
    id 'name.remal.apt' version '1.4.1'
}
plugins {
    id("name.remal.apt") version "1.4.1"
}

 

The plugin applies these plugins:

 

The plugin makes easier to use Java annotation processors. It configures JavaCompile tasks and sets up a dir for generated sources by annotation-processors.

The plugin creates aptOnly configuration. For Gradle version 4.6 and above all annotationProcessor configurations extend this configuration. For older Gradle versions all compileOnly configurations extend this configuration.

Also, the plugin creates apt configuration. This configuration extends aptOnly. All compileOnly configurations extend this configuration. For Gradle version 4.6 and above all annotationProcessor configurations extend this configuration.

 

The plugin adds aptOptions extension of type AptOptions.

 

name.remal.gradle_plugins.plugins.java.AptOptions

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