Hi for android build, is it safe to use KSP partia...
# ksp
d
Hi for android build, is it safe to use KSP partially on some modules ? so module A,B use ksp, module C and D using kapt. Is this allowed or there will be some problem? Thank you
x
It’s perfectly fine. You can now even use the K2 compiler despite using KAPT in some parts of the project (the K1 compiler will be used for those tasks)
j
Not only fine, it's one of the way modules can help you increase the compilation speed. You can isolate KAPT based modules and not compile them while working on newer stuff
d
Thanks a lot for info, i will try this as well on my project
Also wondering, can we also applied kapt and ksp on same module ?
j
you can, but i'm not sure if you can rely on the code generation ordering (i mean if you want to use kapt generated code in ksp or something weird like that)