Android 12 Developer Preview is here! Try it out, and give us your feedback!

JavaCompileOptions

@Incubating interface JavaCompileOptions
com.android.build.api.dsl.JavaCompileOptions

DSL object for javaCompileOptions.

Summary

Public methods

abstract Unit

Configures annotation processor options.

Properties

abstract AnnotationProcessorOptions

Options for configuration the annotation processor.

Public methods

annotationProcessorOptions

abstract fun annotationProcessorOptions(action: AnnotationProcessorOptions.() -> Unit): Unit

Configures annotation processor options.

Properties

annotationProcessorOptions

abstract val annotationProcessorOptions: AnnotationProcessorOptions

Options for configuration the annotation processor.