is it smart to combine KAPT and KSP for builds, or...
# gradle
p
is it smart to combine KAPT and KSP for builds, or should I prefer to stick with KAPT, if not all dependencies support KSP?
I'm wondering, if having both of them at once, negatively impacts build times?
g
It shouldn't be worse as soon as KSP version is not slower than kapt
In general no problem to run both, we do, and don't have any additional performance degradation
p
Doesn't KAPT task depend on KSP? I think I saw KAPT run before KSP. That's why I was wondering, how much it actually matters.
g
KAPT doesn't depend on KSP
Kapt may run earlier than KSP if it depends on it, it depends on processors/plugin implementation
But again, it depends on your setup, how many modules may have only KSP, and how many have to run both, until you disable kapt per module, it's unlikely that you will get any performance benefits, but also shouldn't get much of penalty to run it too
p
I see. Thank you for explaining 🍺