Stay organized with collections
Save and categorize content based on your preferences.
JavaCompilation
@Incubating interface JavaCompilation
Summary
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# JavaCompilation\n===============\n\n\n```\n@Incubating interface JavaCompilation\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Public properties ||\n|----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [AnnotationProcessor](/reference/tools/gradle-api/8.0/com/android/build/api/variant/AnnotationProcessor) | [annotationProcessor](/reference/tools/gradle-api/8.0/com/android/build/api/variant/JavaCompilation#annotationProcessor()) Returns the [AnnotationProcessor](/reference/tools/gradle-api/8.0/com/android/build/api/variant/AnnotationProcessor) for configuring Java annotation processor. |\n\nPublic properties\n-----------------\n\n### annotationProcessor\n\n```\nval annotationProcessor: AnnotationProcessor\n```\n\nReturns the [AnnotationProcessor](/reference/tools/gradle-api/8.0/com/android/build/api/variant/AnnotationProcessor) for configuring Java annotation processor."]]