I’m trying to use the `native-mt` version of the c...
# multiplatform
j
I’m trying to use the
native-mt
version of the coroutine library for my ios target by doing so :
Copy code
val commonMain by getting {
    dependencies {
        implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2")
    }
}

val androidMain by getting
val iosMain by getting {
            dependencies {
                implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core") {
                    version {
                        strictly("1.5.2-native-mt")
                    }
                }
            }
        }
is it the correct way to do it?
m
You can just use
core:1.5.2-native-mt
in common instead
👍 1
j
I used to do that yes, I was just wondering if it was possible to scope the native-mt version only to ios target 🙂