Skip to content

Commit

Permalink
Use coroutines 1.7.3 for desktop and native. But use 1.8.0-RC2 for we…
Browse files Browse the repository at this point in the history
…b targets (#865)
  • Loading branch information
eymar authored Feb 6, 2024
1 parent f49e746 commit 585f2dd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions skiko/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ plugins {
apply<WasmImportsGeneratorCompilerPluginSupportPlugin>()
apply<WasmImportsGeneratorForTestCompilerPluginSupportPlugin>()

val coroutinesVersion = "1.8.0-RC"
val atomicfuVersion = "0.23.1"
val coroutinesVersion = "1.7.3"
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 buildType = skiko.buildType
Expand Down Expand Up @@ -210,12 +211,16 @@ kotlin {
if (supportJs || supportWasm) {
val jsWasmMain by creating {
dependsOn(nativeJsMain)
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesForWebVersion")
}
}

val jsWasmTest by creating {
dependsOn(nativeJsTest)
dependencies {
implementation(kotlin("test"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutinesForWebVersion")
}
}

Expand Down

0 comments on commit 585f2dd

Please sign in to comment.