I would like to know if in an Android project mixing Java and Kotlin files we must use annotationProcessor or kapt, or both ?
In my understanding annotationProcessor must be used for Java files using annotations for code generation, and kapt must be used for Kotlin files using annotations for code generation.
我有一个混合了两种语言的项目,我刚刚替换了构建中的所有annotationProcessor依赖项.卡普格拉德尔.
Can someone explain to me ?
Thank you