https://kotlinlang.org logo
#ktor
Title
# ktor
a

agta1991

07/03/2020, 8:50 AM
Hi folks! I'm experimenting with ktor in a multi-module multiplatform mobile app, but if I try to use ktor in any of the submodules I get a strange error from Gradle, like this:
Using kotlin 1.4-M2, ktor 1.3.2-1.4-m2 and coroutines 1.3.7-native-mt-1.4-M2
With targets common/android/ios
It seems like if I exclude the kotlinx coroutines from the Ktor dependencies, the Gradle sync passes.
Copy code
implementation(CommonLibraries.Ktor.common) {
    exclude(group = "org.jetbrains.kotlinx", module = "kotlinx-coroutines-core")
}
23 Views