dagomni
11/16/2020, 12:47 PMkotlin.Error: Ktor native HttpClient requires kotlinx.coroutines version with `native-mt` suffix (like `1.3.9-native-mt`). Consider checking the dependencies.
Has anyone else experienced this? It happens on iOS with Ktor 1.4.1, 1.4.2; coroutines 1.3.9-native-mt, 1.3.9-native-mt-2cy
11/16/2020, 12:48 PMdagomni
11/16/2020, 12:57 PMimplementation "org.jetbrains.kotlin:kotlin-stdlib-common:$kotlinVersion"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion"
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:$serializationVersion"
implementation ("io.ktor:ktor-client-core:$ktorVersion")
implementation ("io.ktor:ktor-client-serialization:$ktorVersion")
implementation ("io.ktor:ktor-client-json:$ktorVersion")
implementation ("io.ktor:ktor-client-logging:$ktorVersion")
implementation "org.koin:koin-core:$koinVersion"
-----------------------------
implementation "io.ktor:ktor-client-ios:$ktorVersion"
kotlinVersion = '1.4.10'
ktorVersion = "1.4.2"
coroutinesVersion = "1.3.9-native-mt-2"
serializationVersion = "1.0.0"
koinVersion = "3.0.0-alpha-4"
John O'Reilly
11/16/2020, 1:12 PMnative-mt
versionimplementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlinCoroutines}") {
isForce = true
}
dagomni
11/16/2020, 1:28 PM