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

adjpd

03/09/2022, 6:30 PM
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

Aleksei Tirman [JB]

03/09/2022, 7:57 PM
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

adjpd

03/09/2022, 7:58 PM
I have
Copy code
maven {
            url = uri("<https://maven.pkg.jetbrains.space/public/p/ktor/eap>")
        }
Would that not also work?
a

Aleksei Tirman [JB]

03/09/2022, 8:03 PM
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.