gojuno / composer

Reactive Android Instrumentation Test Runner. Archived. Marathon is recommended as an alternative (https://github.com/Malinskiy/marathon).
Apache License 2.0
546 stars 45 forks source link

Could not find org.jetbrains.kotlin:kotlin-runtime:1.3.0 #160

Open plastiv opened 5 years ago

plastiv commented 5 years ago

I don't know what happened exactly, but kotlin doesn't publish kotlin-runtime artifact anymore: https://bintray.com/bintray/jcenter/org.jetbrains.kotlin:kotlin-runtime

So far next workaround works

subprojects { subProject ->
    subProject.configurations.all { configuration ->
        resolutionStrategy.dependencySubstitution {
            // Until Composer moves to Kotlin 1.3 where `kotlin-runtime` was removed
            substitute module('org.jetbrains.kotlin:kotlin-runtime') with module('org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.0')
        }
    }
}

But would be nice to have some guidance on what should be used as a replacement.