is it smart to combine KAPT and KSP for builds, or should I prefer to stick with KAPT, if not all dependencies support KSP?
Peter
06/05/2024, 10:23 AM
I'm wondering, if having both of them at once, negatively impacts build times?
g
gildor
06/05/2024, 10:50 AM
It shouldn't be worse as soon as KSP version is not slower than kapt
gildor
06/05/2024, 10:51 AM
In general no problem to run both, we do, and don't have any additional performance degradation
p
Peter
06/05/2024, 4:40 PM
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
gildor
06/06/2024, 2:52 AM
KAPT doesn't depend on KSP
gildor
06/06/2024, 2:52 AM
Kapt may run earlier than KSP if it depends on it, it depends on processors/plugin implementation
gildor
06/06/2024, 2:57 AM
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