public final class PreprocessorConfigurer
extends java.lang.Object
Project
.Modifier and Type | Method and Description |
---|---|
static PreprocessorConfigurer |
initFor(org.gradle.api.Project project)
Create the
PreprocessorConfigurer instance for the given project. |
org.gradle.api.artifacts.Configuration |
setupPreprocessorConfig()
Creates the
annotationProcessor config for the project if it does not exist. |
public static PreprocessorConfigurer initFor(org.gradle.api.Project project)
PreprocessorConfigurer
instance for the given project.project
- the projectPreprocessorConfigurer
instancepublic org.gradle.api.artifacts.Configuration setupPreprocessorConfig()
annotationProcessor
config for the project if it does not exist.
In the newer Gradle versions (4.6
and above) the config most probably already
exists.
annotationProcessor
configuration of the project