i see, so there is no solution to use java + kotli...
# kapt
d
i see, so there is no solution to use java + kotlin in same project when i want to use annotation processing in both languages?
e
david.bilik: yes there is! just use kapt everywhere, it will process java as well
d
Ok, will try that 🙂
If I replace apt with kapt and remove apt from project, the classes are not generated as well
e
are you using kapt by doing
apply plugin: 'kotlin-kapt'
?
try to not apply that plugin, and instead do this:
Copy code
kapt {
    generateStubs = true
}
this uses the so called "kapt1"
d
Works 🙂
Thanks!
e
np!
the other kapt is still experimental