How can I get Kotlin 1.1.2 EAP? I tried to update ...
# android
k
How can I get Kotlin 1.1.2 EAP? I tried to update the Kotlin plugin but I keep getting an error.
m
Add this to projects's build.gradle, both to buildscript.repositories & allprojects.repositories:
maven { url '<http://dl.bintray.com/kotlin/kotlin-eap-1.1>' }
k
Ok thank you. But why is the update of the plugin failing?
m
Hmm, I don't know.
k
Do I need to change the version for classpath “org.jetbrains.kotlinkotlin gradle plugin “ to 1.1.2 or something with EAP?
m
Copy code
buildscript {
    ext.kotlin_version = '1.1.2-eap-73'
    repositories {
        ...
        maven { url '<http://dl.bintray.com/kotlin/kotlin-eap-1.1>' }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.3.1'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}
👍 1
k
Hm it does not work. I get following error: Failed to resolve org.jetbrains.kotlinkotlin stdlib1.1.2-eap-73