I'm new to KSP and I'm wondering if there's a way ...
# ksp
a
I'm new to KSP and I'm wondering if there's a way to have the annotations, the processors and the generated code inside the same module?
e
No, it doesn’t work that way. The annotations will be in a normal java/kotlin module, the processor will be in a separate, special module that depends on the module containing the annotations, and then modules using the processor will depend on the annotation module, apply the processor module with ksp, and have the generated code be created in their build module. So at least 3 different modules are involved