fix importing coroutines in sample

This commit is contained in:
Luca Spinazzola 2022-03-25 02:27:11 -04:00
parent 4282fc54c1
commit 494e3d5ac0

View File

@ -185,6 +185,7 @@ kotlin {
implementation(kotlin(Deps.Common.test)) implementation(kotlin(Deps.Common.test))
implementation(Deps.Common.serialization) implementation(Deps.Common.serialization)
api(project(":multiplatform-crypto-libsodium-bindings")) api(project(":multiplatform-crypto-libsodium-bindings"))
implementation(Deps.Common.coroutines)
} }
} }
val commonTest by getting { val commonTest by getting {
@ -203,7 +204,6 @@ kotlin {
implementation("androidx.constraintlayout:constraintlayout:2.0.2") implementation("androidx.constraintlayout:constraintlayout:2.0.2")
implementation("com.google.android.material:material:1.3.0-alpha03") implementation("com.google.android.material:material:1.3.0-alpha03")
implementation(Deps.Android.coroutines)
implementation(Deps.Android.timber) implementation(Deps.Android.timber)
// implementation("androidx.compose:compose-runtime:$composeDevVersion") // implementation("androidx.compose:compose-runtime:$composeDevVersion")
} }
@ -212,9 +212,7 @@ kotlin {
dependencies { dependencies {
implementation(kotlin(Deps.Jvm.test)) implementation(kotlin(Deps.Jvm.test))
implementation(kotlin(Deps.Jvm.testJUnit)) implementation(kotlin(Deps.Jvm.testJUnit))
implementation(Deps.Jvm.coroutinesTest)
implementation(kotlin(Deps.Jvm.reflection)) implementation(kotlin(Deps.Jvm.reflection))
implementation(Deps.Jvm.coroutinesCore)
} }
} }
@ -255,7 +253,6 @@ kotlin {
val nativeTest by getting { val nativeTest by getting {
dependsOn(commonTest) dependsOn(commonTest)
dependencies { dependencies {
implementation(Deps.Native.coroutines)
} }
} }
nativeTest nativeTest
@ -263,7 +260,6 @@ kotlin {
val nativeTest by creating { val nativeTest by creating {
dependsOn(commonTest) dependsOn(commonTest)
dependencies { dependencies {
implementation(Deps.Native.coroutines)
} }
} }
nativeTest nativeTest
@ -287,8 +283,6 @@ kotlin {
val jsMain by getting { val jsMain by getting {
dependencies { dependencies {
implementation(kotlin(Deps.Js.stdLib)) implementation(kotlin(Deps.Js.stdLib))
implementation(Deps.Js.coroutines)
} }
} }
val jsTest by getting { val jsTest by getting {