Hello, Seeing `w: Kapt currently doesn't support ...
# kapt
b
Hello, Seeing
w: Kapt currently doesn't support language version 2.0+. Falling back to 1.9.
in logs means it applies only for kapt right? i.e rest of the project is using kotlin 2.0, but kapt itself is falling back kotlin 1.9? Context: we have upgraded most of our modules to use kotlin 2.0 & ksp, but only 2 modules are using
id("kotlin-kapt")
(because of room-java) I'm guessing we will still be able to use kotlin 2.0 in those modules using kotlin-kapt, right?
👌 2
d
Use
kapt.use.k2=true
in gradle.properties
Copy code
# <https://kotlinlang.org/docs/kapt.html#try-kotlin-k2-compiler> (kotlin 2.0)
kapt.use.k2=true
1199 Views