Skip to content

Commit

Permalink
Coroutines 1.5.1 and use 1.5.1-native-mt on native (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
sockeqwe authored Feb 15, 2022
1 parent fd9b57b commit 5bbfe50
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
1 change: 1 addition & 0 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ ext.libraries = [
kotlinStdlibJs : "org.jetbrains.kotlin:kotlin-stdlib-js:$versions.kotlin",
timber : "com.jakewharton.timber:timber:$versions.timber",
coroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-core:$versions.coroutines",
coroutinesNativeMT: "org.jetbrains.kotlinx:kotlinx-coroutines-core:${versions.coroutines}-native-mt",
rxJava : "io.reactivex.rxjava2:rxjava:$versions.rxJava",
rxAndroid : "io.reactivex.rxjava2:rxandroid:$versions.rxAndroid",
flMadStateMachine : "com.freeletics.mad:state-machine:0.3.0-alpha26",
Expand Down
15 changes: 13 additions & 2 deletions dsl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ kotlin {
iosArm64()
iosX64()
iosSimulatorArm64()
linuxX64()
// linuxX64()
macosX64()
macosArm64()
mingwX64()
Expand Down Expand Up @@ -58,16 +58,27 @@ kotlin {
}

nativeMain {
dependencies {
implementation (libraries.coroutinesNativeMT) {
force = true
}
}
}
nativeTest {
dependencies {
implementation (libraries.coroutinesNativeMT) {
force = true
}
}
}


configure([
targets.iosArm32,
targets.iosArm64,
targets.iosX64,
targets.iosSimulatorArm64,
targets.linuxX64,
// targets.linuxX64,
targets.macosX64,
targets.macosArm64,
targets.mingwX64,
Expand Down
14 changes: 12 additions & 2 deletions flowredux/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ kotlin {
iosArm64()
iosX64()
iosSimulatorArm64()
linuxX64()
// linuxX64()
macosX64()
macosArm64()
mingwX64()
Expand Down Expand Up @@ -56,16 +56,26 @@ kotlin {
}

nativeMain {
dependencies {
implementation (libraries.coroutinesNativeMT) {
force = true
}
}
}
nativeTest {
dependencies {
implementation (libraries.coroutinesNativeMT) {
force = true
}
}
}

configure([
targets.iosArm32,
targets.iosArm64,
targets.iosX64,
targets.iosSimulatorArm64,
targets.linuxX64,
// targets.linuxX64,
targets.macosX64,
targets.macosArm64,
targets.mingwX64,
Expand Down

0 comments on commit 5bbfe50

Please sign in to comment.