Hi. Can someone please answer this Why kapt plugin...
# android
r
Hi. Can someone please answer this Why kapt plugin is required for annotation processor in koltin?
n
So I’m super unsure of this, but I suspect that
annotationProcessor
won’t be looking for annotations in Kotlin files, whereas
kapt
will.
g
you need Kapt to let Annotation Processors written for Java to get access to Kotlin classes during annotation processing
if you don’t generate any code from Kotlin files you don’t need kapt