You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
Is there a way to make an annotation processor generating Kotlin incremental? I haven't found any other information about it. Naively trying to use a SOURCE_OUTPUT location with the Filer API seems not to work.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've been trying to figure out how to get a Kotlin annotation processor to produce new Kotlin source using the Filer API, which is necessary to get it to be incremental. (See here: https://docs.gradle.org/current/userguide/java_plugin.html#sec:incremental_annotation_processing )
The example code uses a direct file write:
https://github.com/Kotlin/kotlin-examples/blob/master/gradle/kotlin-code-generation/annotation-processor/src/main/java/TestAnnotationProcessor.kt#L42
Is there a way to make an annotation processor generating Kotlin incremental? I haven't found any other information about it. Naively trying to use a SOURCE_OUTPUT location with the Filer API seems not to work.
The text was updated successfully, but these errors were encountered: