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:
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..