![]() See AP/javac options encoding for more information. ![]() JavacArguments: A base64-encoded list of the options passed to javac. Pass as many apclasspath options as many JARs you have.Īpoptions: A base64-encoded list of the annotation processor options. IncrementalData: An output path for the binary stubs.Īpclasspath ( repeatable): A path to the annotation processor JAR. In other words, some temporary directory. Stubs ( required): An output path for the stub files. Sources ( required): An output path for the generated files.Ĭlasses ( required): An output path for the generated class files and resources. Xplugin=$KOTLIN_HOME/lib/kotlin-annotation-processing.jar Turn off the discovery of annotation processors in the compile classpath by adding this line to your gradle.properties file: However, compile avoidance can't be used for annotation processors discovered in the compile classpath since any changes in them require running the annotation processing tasks.Īdd the annotation processor dependencies to the kapt* configurations manually as described above. For example, the only changes are in method bodies. ![]() The changes in dependencies are ABI compatible. The project's source files are unchanged. Particularly, annotation processing is skipped when: With compile avoidance enabled, Gradle can skip annotation processing when rebuilding a project. To improve the times of incremental builds with kapt, it can use the Gradle compile avoidance. MappingProcessor: total sources: 2, sources per round: 2, 0, 0 MappingProcessor: total: 290 ms, init: 1 ms, 3 round(s): 289 ms, 0 ms, 0 ms
0 Comments
Leave a Reply. |