Is KSP still not compatible with Kotlin 2.0.0?
# multiplatform
s
Is KSP still not compatible with Kotlin 2.0.0?
r
it is compatible, you can check many libraries i.e. tivi
s
https://github.com/google/ksp/issues/1536, I have checked we are still seeing this issue.
e
KSP currently runs at language version 1.9 within the Kotlin 2.0 compiler
s
we have updated the language version 2.0.0
e
there should be no need to, as Kotlin purposefully minimized differences in the language version…
but if you want to proceed, you need to use KSP2
s
Yes im using 2.0.0-1.0.21 itself and kotlin 2.0.0
e
that's not what I mean by KSP2. KSP 2.0.0 includes both KSP1 (default) and KSP2. https://android-developers.googleblog.com/2023/12/ksp2-preview-kotlin-k2-standalone.html
đź‘€ 2
s
Hi @ephemient thanks it compiles on android but on iOS started getting new error ,
I got to know that this is the open issue from KSP2, as already raised by some other devs and KSP also added in their milestone. Is there any workaround for this to make use of Kotlin 2
600 Views