Stay organized with collections
Save and categorize content based on your preferences.
JavaCompileOptions
interface JavaCompileOptions
DSL object for javaCompileOptions.
Summary
Public functions |
Unit |
Configures annotation processor options.
|
Public functions
Public properties
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# JavaCompileOptions\n==================\n\n\n```\ninterface JavaCompileOptions\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nDSL object for javaCompileOptions.\n\nSummary\n-------\n\n| ### Public functions ||\n|------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [annotationProcessorOptions](/reference/tools/gradle-api/8.0/com/android/build/api/dsl/JavaCompileOptions#annotationProcessorOptions(kotlin.Function1))`(action: @`[ExtensionFunctionType](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html)` `[AnnotationProcessorOptions](/reference/tools/gradle-api/8.0/com/android/build/api/dsl/AnnotationProcessorOptions)`.() `-\u003e` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` Configures annotation processor options. |\n\n| ### Public properties ||\n|--------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [AnnotationProcessorOptions](/reference/tools/gradle-api/8.0/com/android/build/api/dsl/AnnotationProcessorOptions) | [annotationProcessorOptions](/reference/tools/gradle-api/8.0/com/android/build/api/dsl/JavaCompileOptions#annotationProcessorOptions()) Options for configuration the annotation processor. |\n\nPublic functions\n----------------\n\n### annotationProcessorOptions\n\n```\nfun annotationProcessorOptions(action: @ExtensionFunctionType AnnotationProcessorOptions.() -\u003e Unit): Unit\n```\n\nConfigures annotation processor options.\n\nPublic properties\n-----------------\n\n### annotationProcessorOptions\n\n```\nval annotationProcessorOptions: AnnotationProcessorOptions\n```\n\nOptions for configuration the annotation processor."]]