Gradle build failing ```repositories { jcenter...
# ktor
v
Gradle build failing
Copy code
repositories {
    jcenter()
    mavenCentral()
}

dependencies {
   ...
    compile "io.ktor:ktor-client-json:$ktor_version"
    compile "io.ktor:ktor-client-gson:$ktor_version"
}
Copy code
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find org.jetbrains.kotlinx:kotlinx-serialization-runtime-common:0.9.0.
     Searched in the following locations:
       - <https://jcenter.bintray.com/org/jetbrains/kotlinx/kotlinx-serialization-runtime-common/0.9.0/kotlinx-serialization-runtime-common-0.9.0.pom>
       - <https://jcenter.bintray.com/org/jetbrains/kotlinx/kotlinx-serialization-runtime-common/0.9.0/kotlinx-serialization-runtime-common-0.9.0.jar>
       - <https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-serialization-runtime-common/0.9.0/kotlinx-serialization-runtime-common-0.9.0.pom>
       - <https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-serialization-runtime-common/0.9.0/kotlinx-serialization-runtime-common-0.9.0.jar>
     Required by:
         project : > io.ktor:ktor-client-json:1.0.0
   > Could not find org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.9.0.
     Searched in the following locations:
       - <https://jcenter.bintray.com/org/jetbrains/kotlinx/kotlinx-serialization-runtime/0.9.0/kotlinx-serialization-runtime-0.9.0.pom>
       - <https://jcenter.bintray.com/org/jetbrains/kotlinx/kotlinx-serialization-runtime/0.9.0/kotlinx-serialization-runtime-0.9.0.jar>
       - <https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-serialization-runtime/0.9.0/kotlinx-serialization-runtime-0.9.0.pom>
       - <https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-serialization-runtime/0.9.0/kotlinx-serialization-runtime-0.9.0.jar>
     Required by:
         project : > io.ktor:ktor-client-gson:1.0.0 > io.ktor:ktor-client-json-jvm:1.0.0
😢 1
t
Seems like that dependency is currently only on the kotlinx repository. As a quick fix (I assume the library will be on central eventually), add this URL as a repository: https://dl.bintray.com/kotlin/kotlinx/
👏 1