I have:
ext.kotlin_version = '1.1.3'
ext.kotlin_js_version = '1.1-M04'
repositories {
mavenCentral()
maven{ url = "https://dl.bintray.com/kotlin/kotlin-dev/" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
then in another build.gradle:
dependencies {
compile "org.jetbrains.kotlin:kotlin-js-library:$kotlin_js_version"
}
But I always get:
org.jetbrains.kotlin/kotlin-js-library/1.1-M04/ef6b315dbb89927eb72fbce262ba3a74dc1ebcb5/kotlin-js-library-1.1-M04.jar' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 6.0.0, expected version is 1.0.1
I want the latest of both. I think? Or does one lag behind the other?