John O'Reilly
05/24/2023, 7:49 PMbashor
05/25/2023, 12:20 AM1.4.0-dev-wasm08
John O'Reilly
05/25/2023, 7:22 AMcompose-jetsnack
sample but still getting following for some reason
Could not determine the dependencies of task ':kotlinNpmInstall'.
> Could not resolve all dependencies for configuration ':web:wasmNpm'.
> Could not find org.jetbrains.kotlin:kotlin-stdlib:1.9.0-dev-6976.
Searched in the following locations:
- <https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.9.0-dev-6976/kotlin-stdlib-1.9.0-dev-6976.pom>
- <https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.9.0-dev-6976/kotlin-stdlib-1.9.0-dev-6976.pom>
- <https://maven.pkg.jetbrains.space/public/p/compose/dev/org/jetbrains/kotlin/kotlin-stdlib/1.9.0-dev-6976/kotlin-stdlib-1.9.0-dev-6976.pom>
- <https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental/org/jetbrains/kotlin/kotlin-stdlib/1.9.0-dev-6976/kotlin-stdlib-1.9.0-dev-6976.pom>
- <https://androidx.dev/storage/compose-compiler/repository/org/jetbrains/kotlin/kotlin-stdlib/1.9.0-dev-6976/kotlin-stdlib-1.9.0-dev-6976.pom>
Required by:
project :web > org.jetbrains.compose.foundation:foundation:1.4.0-dev-wasm08 > org.jetbrains.compose.foundation:foundation-wasm:1.4.0-dev-wasm08 > org.jetbrains.skiko:skiko-wasm:0.0.7.58-wasm03
John O'Reilly
05/25/2023, 7:23 AMJohn O'Reilly
05/25/2023, 7:30 AMweb
module and added following in there
compose {
experimental {
web.application {}
}
kotlinCompilerPlugin.set("1.4.7-dev-k1.9.0-Beta-bb7dc8b44eb")
kotlinCompilerPluginArgs.add("suppressKotlinVersionCompatibilityCheck=1.9.0-Beta")
}
John O'Reilly
05/25/2023, 7:31 AMThis version of Compose Multiplatform 1.4.0-dev-wasm08 doesn't support Kotlin 1.9.0-Beta.
)Oleksandr Karpovich [JB]
05/25/2023, 9:27 AMkotlinCompilerPlugin.set("1.4.7-dev-k1.9.0-Beta-bb7dc8b44eb")
This version won't work. I guess it's the Jetpack Compose Compiler plugin version, right?
what if you set:
kotlinCompilerPlugin.set("1.4.0-dev-wasm08")
?
_
Or did 1.4.7-dev-k1.9.0-Beta-bb7dc8b44eb work for you?
_
And 1.4.0-dev-wasm08 was built with a dependency on org.jetbrains.kotlinkotlin stdlib1.9.0-dev-6976
So It still can complain.
But stdlib version substituion should helpJohn O'Reilly
05/25/2023, 9:32 AM1.4.7-dev-k1.9.0-Beta-bb7dc8b44eb
in other projects to work with Kotlin 1.9.0-Beta. I tried what you suggested but get same errorOleksandr Karpovich [JB]
05/25/2023, 9:33 AMJohn O'Reilly
05/25/2023, 9:34 AMOleksandr Karpovich [JB]
05/25/2023, 9:35 AMJohn O'Reilly
05/25/2023, 9:45 AMallprojects {
configurations.all {
resolutionStrategy.dependencySubstitution {
substitute(module("org.jetbrains.compose.compiler:compiler")).apply {
using(module("androidx.compose.compiler:compiler:1.4.7-dev-k1.9.0-Beta-bb7dc8b44eb"))
}
}
}
}
John O'Reilly
05/25/2023, 9:46 AMOleksandr Karpovich [JB]
05/25/2023, 9:49 AMOleksandr Karpovich [JB]
05/25/2023, 10:51 AMJohn O'Reilly
05/25/2023, 10:53 AMJohn O'Reilly
05/25/2023, 12:53 PMif (requested.module.name.startsWith("kotlin-stdlib")) {
useVersion("1.9.0-Beta")
}
Oleksandr Karpovich [JB]
05/25/2023, 12:55 PMJohn O'Reilly
05/25/2023, 3:03 PMQuerying the mapped value of map(task ':compose-web:wasmBrowserDevelopmentRun' property 'inputFilesDirectory') before task ':compose-web:wasmDevelopmentExecutableCompileSync' has completed is not supported
John O'Reilly
05/25/2023, 3:06 PMcompose-jetsnack
to use that version and see same issue with that project too nowOleksandr Karpovich [JB]
05/25/2023, 3:08 PMJohn O'Reilly
05/25/2023, 7:54 PMJohn O'Reilly
05/25/2023, 7:54 PMJohn O'Reilly
05/25/2023, 7:55 PM