Hey there! I tried to use K2 with Kotlin 1.7.10, a...
# k2-adopters
m
Hey there! I tried to use K2 with Kotlin 1.7.10, and our project uses both KSP and Compose. Both don't work, because K2 only starts supporting compiler plugins on 1.7.20. Is the Compose compiler on the agenda for 1.7.20, or do we have to wait a bit longer?
d
Unfortunately, Compose for K2 is blocked by MPP support, so it won't be avaliable even in 1.8.0
m
Oh, that’s a bummer! But thank you for the quick update đŸ™‚
t
KSP runs in a separate task (where the old compiler is used) prior to the compilation so it works when K2 is enabled.
Unless there is a bug đŸ˜› Can you share the error message related to KSP?
j
@dmitriy.novozhilov 1.8.0 stable?
is it not possible to add at least a workaround so it can work if you target jvm or Android?
d
1.8.0 is not even branched. Of which stability are you taking?
Also MPP definitely won't be ready in 1.8.0
j
I mean if compose will work with k2 with 1.8.0 stable
d
It won't
j
at least jvm/android part (if possible)
k2 with kmp is targeting 1.9.0 then?
d
1.8.20, I hope. But it maybe delayed till 1.9.0
j
thank you for the feedback!