dagomni
kotlin.Error: Ktor native HttpClient requires kotlinx.coroutines version with `native-mt` suffix (like `1.3.9-native-mt`). Consider checking the dependencies.
cy
implementation "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
native-mt
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlinCoroutines}") { isForce = true }
A modern programming language that makes developers happier.