Testing K2 and build output seems strange.
It says:
##### 100% (220/220) tasks have been compiled with Kotlin 2.0 #####
But as expected all the kapt tasks says:
w: Kapt currently doesn't support language version 2.0+. Falling back to 1.9.
Is this normal or am I missing some parameters?
j
Josh Friend
07/31/2023, 6:34 PM
kapt is going away in kotlin 2.0 and you need to migrate to KSP
t
Tolriq
07/31/2023, 6:36 PM
Tell that to dagger 😉 But the issue is more about the logs that says 100% compiled with 2.0 while there's many that are not. I would expect the proper value as a valid indicator if I have other issues somewhere.
😂 1
t
tapchicoma
07/31/2023, 7:36 PM
kapt is not going away in K2.0 😅
😌 1
tapchicoma
07/31/2023, 7:37 PM
are you testing with 1.9.20-dev builds?
t
Tolriq
07/31/2023, 7:38 PM
No it was a quick test with 1.9.0 to see what I needed to anticipate.
t
tapchicoma
07/31/2023, 7:58 PM
then it is normal - in 1.9.0 kapt tasks internally fallback to the old backend. Should be changed in 1.9.20 release