Hi, I changed from ktor-client `1.6.7` to `2.0.0` ...
# ktor
a
Hi, I changed from ktor-client
1.6.7
to
2.0.0
because
1.6.7
doesn't work on
iosArm64
. Now I get this error:
Could not find org.jetbrains.kotlin:kotlin-stdlib-common:1.6.20-M1-106 Required by: project: shared.
Any ideas?
a
To solve this problem just add the following repository to Gradle build file:
Copy code
maven { url = uri("<https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/>") }
a
I have
Copy code
maven {
            url = uri("<https://maven.pkg.jetbrains.space/public/p/ktor/eap>")
        }
Would that not also work?
a
Ktor EAP versions, that have been released after the beta, depend on Kotlin 1.6.20-M1-106 that is available only in the Kotlin dev repository so you have to specify both.