https://kotlinlang.org logo
#android
Title
# android
k

koufa

04/18/2017, 6:20 PM
How can I get Kotlin 1.1.2 EAP? I tried to update the Kotlin plugin but I keep getting an error.
m

miha-x64

04/18/2017, 6:22 PM
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

koufa

04/18/2017, 6:25 PM
Ok thank you. But why is the update of the plugin failing?
m

miha-x64

04/18/2017, 6:26 PM
Hmm, I don't know.
k

koufa

04/18/2017, 6:32 PM
Do I need to change the version for classpath “org.jetbrains.kotlinkotlin gradle plugin “ to 1.1.2 or something with EAP?
m

miha-x64

04/18/2017, 6:35 PM
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

koufa

04/18/2017, 6:51 PM
Hm it does not work. I get following error: Failed to resolve org.jetbrains.kotlinkotlin stdlib1.1.2-eap-73