Skip to content

Commit

Permalink
Use coroutines 1.8.0 for all targets (#879)
Browse files Browse the repository at this point in the history
According to COMPOSE-939
  • Loading branch information
eymar authored Feb 26, 2024
1 parent 43ec316 commit c0f0152
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions skiko/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ plugins {
apply<WasmImportsGeneratorCompilerPluginSupportPlugin>()
apply<WasmImportsGeneratorForTestCompilerPluginSupportPlugin>()

val coroutinesVersion = "1.7.3"
val coroutinesForWebVersion = "1.8.0-RC2" // TODO: remove this (https://youtrack.jetbrains.com/issue/COMPOSE-939)
val coroutinesVersion = "1.8.0"
val atomicfuVersion = "0.23.2"

val skiko = SkikoProperties(rootProject)
Expand Down Expand Up @@ -151,7 +150,7 @@ kotlin {
}
val commonTest by getting {
dependencies {
implementation(kotlin("test-common"))
implementation(kotlin("test"))
implementation(kotlin("test-annotations-common"))
}
}
Expand Down Expand Up @@ -211,17 +210,10 @@ 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")
}
}

if (supportJs) {
Expand Down

0 comments on commit c0f0152

Please sign in to comment.