Will the 2.2.0 release of KSP bump the language ve...
# ksp
e
Will the 2.2.0 release of KSP bump the language version? I'm getting the following errors (technically warnings, but I have
-Werror
specified and it isn't yet possible to suppress this one)
Copy code
w: Language version 1.9 is deprecated and its support will be removed in a future version of Kotlin
e: warnings found and -Werror specified
t
Are you using KSP1 or KSP2? Only KSP1 passes language version 1.9 to the compiler. It is necessary so as to specify the old compiler frontend, which KSP1 is written for.
e
Pretty sure I'm using KSP2 but I'll double check
🙏 1
t
The error message is printed by the Kotlin compiler. KSP2 doesn't call the compiler in that way, so it is more like KSP1.
e
My apologies you're right. I thought I switched to KSP2 everywhere, but I guess I missed one
useKSP2=false
😅
t
No worries, glad that KSP2 works for you!
r
Thanks for posting this ya'll, you just saved me a bunch of time. Totally forgot one of my projects had that flag set from quite some time ago.