Gavin Ray
07/29/2023, 8:32 PMksp
to write an annotation processor that works in both Java-only and Kotlin projects?
I want to publish a codegen annotation processor that can be used either in both kinds of projects.
I know that ksp
supports Java code, but I'm unsure whether it can be used from a Java-only project without a Kotlin compiler dependency (I would guess not).
My goal is for end-users to be able to import the processor like the below (or similar):
dependencies {
annotationProcessor("...")
}
jw
07/29/2023, 10:32 PM