Unverified Commit 585f2dd9 authored by Oleksandr Karpovich's avatar Oleksandr Karpovich Committed by GitHub

Use coroutines 1.7.3 for desktop and native. But use 1.8.0-RC2 for web targets (#865)

parent f49e7468
...@@ -15,8 +15,9 @@ plugins { ...@@ -15,8 +15,9 @@ plugins {
apply<WasmImportsGeneratorCompilerPluginSupportPlugin>() apply<WasmImportsGeneratorCompilerPluginSupportPlugin>()
apply<WasmImportsGeneratorForTestCompilerPluginSupportPlugin>() apply<WasmImportsGeneratorForTestCompilerPluginSupportPlugin>()
val coroutinesVersion = "1.8.0-RC" val coroutinesVersion = "1.7.3"
val atomicfuVersion = "0.23.1" val coroutinesForWebVersion = "1.8.0-RC2" // TODO: remove this (https://youtrack.jetbrains.com/issue/COMPOSE-939)
val atomicfuVersion = "0.23.2"
val skiko = SkikoProperties(rootProject) val skiko = SkikoProperties(rootProject)
val buildType = skiko.buildType val buildType = skiko.buildType
...@@ -210,12 +211,16 @@ kotlin { ...@@ -210,12 +211,16 @@ kotlin {
if (supportJs || supportWasm) { if (supportJs || supportWasm) {
val jsWasmMain by creating { val jsWasmMain by creating {
dependsOn(nativeJsMain) dependsOn(nativeJsMain)
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesForWebVersion")
}
} }
val jsWasmTest by creating { val jsWasmTest by creating {
dependsOn(nativeJsTest) dependsOn(nativeJsTest)
dependencies { dependencies {
implementation(kotlin("test")) implementation(kotlin("test"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutinesForWebVersion")
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment