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

John O'Reilly

09/25/2020, 6:53 PM
I'm getting following when I try to use 1.4.1
Copy code
> Could not find ktor-client-core-1.4.1.jar (io.ktor:ktor-client-core:1.4.1).
     Searched in the following locations:
         <https://jcenter.bintray.com/io/ktor/ktor-client-core/1.4.1/ktor-client-core-1.4.1.jar>
not sure if there's issue with some mirror....can open https://jcenter.bintray.com/io/ktor/ktor-client-core/1.4.1/ in a browser and I see that file....anyone else seeing this?
This is in a Kotlin Multiplatform project in case that's somehow a factor
l

louiscad

09/25/2020, 7:06 PM
@John O'Reilly Did you try adding
mavenCentral()
?
j

Jeremy Rouet

09/25/2020, 7:08 PM
i use mavenCentral too
l

louiscad

09/25/2020, 7:08 PM
@Jeremy Rouet Can you also specify if it's working for you with
mavenCentral()
?
j

John O'Reilly

09/25/2020, 7:17 PM
I had
mavenCentral()
....but behind
jcenter()
....I changed order and it's working now! Thanks @louiscad
j

Jeremy Rouet

09/26/2020, 2:01 AM
@louiscad I'm alway in ktor 1.3.0.. i prefer wait more time before migrate to 1.4, but i have less problem with mavenCentral than other. This is my repositories:
Copy code
mavenCentral()
jcenter()
maven { url '<https://kotlin.bintray.com/ktor>' }
I looked in the mobile project of my campagnie, this project just migrate to ktor 1.4. They use this repository :
Copy code
google()
        mavenCentral()
        jcenter()
3 Views