Maybe a dumb question: Can I use `ksp` to write an...
# ksp
g
Maybe a dumb question: Can I use
ksp
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):
Copy code
dependencies {
  annotationProcessor("...")
}
j
Look into XProcessing that Room and Dagger use
🙏 1