> e: /home/atsushi/.gradle/caches/jars-8/e51b2...
# compose-desktop
a
e: /home/atsushi/.gradle/caches/jars-8/e51b24e2bc2b3d6212beb0e53efc315d/compose-gradle-plugin-1.0.0-alpha1-rc1.jar!/org/jetbrains/compose/desktop/DesktopExtension.class: Class 'org/jetbrains/compose/desktop/DesktopExtension' was compiled with an incompatible version of Kotlin. The binary version of its bytecode is unknown, expected version is 1.0.3
Which kotlin version makes it work with compose-gradle-plugin:1.0.0-alpha1-rc1 ? I got this error with kotlin-gradle-plugin:1.5.30-M1 which I assume is the latest.
1
a
Compose is build on top of stable Kotlin versions. 1.0.0-alpha1-rc1 is build on top of 1.5.20
a
oh good to know, thanks. But I'm still getting the same error with
org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.20
... I wonder if there are other parts that specifies different kotlin version.
Let me put my repo that causes the problem in case it show some obvious problem https://github.com/atsushieno/kmmk/tree/dropdownmenu
j
a
Thanks, I'm indeed building it with gradle 7.1 now, as GitHub Actions caught the problem (differently), I keep it posted.
tried deleting gradle cache earlier too, but it did not help.
Hmm, yeah I remember I saw those errors, some real problem I had before. Looks like it could be built (unless it's some environment dependent).
Okay, gradle 7.1 instead of 6.7 indeed fixed it. Thanks!
👍 1