Hi, i am facing this issue in compose web: `Web: ...
# compose-web
s
Hi, i am facing this issue in compose web:
Web: Cross module dependency resolution failed,
And i followed workaround mentioned here: https://github.com/JetBrains/compose-multiplatform/issues/3486 As mentioned, i applied these changes: 1. kotlin version changed to: 1.9.10-456 2. applied this check in project build.gradle:
Copy code
afterEvaluate {
    project.extensions.findByType<org.jetbrains.compose.ComposeExtension>()?.also {
        it.kotlinCompilerPlugin.set("1.5.0")
        it.kotlinCompilerPluginArgs.add("suppressKotlinVersionCompatibilityCheck=1.9.10-456")
    }
}
1.
-kotlin.js.ir.output.granularity=whole-program
, this line was already not there in gradle.properties After making all these changes if i try to run its not working, i m getting following:
Caused by: java.lang.RuntimeException: Compose Multiplatform 1.5.0 doesn't support Kotlin 1.9.10-456
So which compose version we will have to use with this Kotlin version? Struggling so much with this. any help will be appreciated..
p
Try kotlin 1.9.0
Clean up and invalidate caches as usual
s
@Pablichjenkov only 1.9.0, and not 1.9.10-456 ? but its mentioned in that issue , that we need to use 1.9.10-456?
👍 1
1.9.0 i am already using, but facing that issue
@Oleksandr Karpovich [JB] Can u suggest me what can be the issue?
o
Please try Compose 1.5.1 and kotlin 1.9.10 (stable). No extra workarounds should be necessary
🎉 1
s
Oh, 1.5.1 is released, thats great.. i was not aware about that. let me check with that,thnx
👍 1