https://kotlinlang.org logo
Title
c

CamilleBC

10/16/2018, 9:29 AM
Hello guys! I've been trying to setup kotlin 1.3rc in my project. I've been in Tools -> kotlin -> Configure Kotlin Updates and activated
Early Access Preview 1.3
. My project build.gradle has
buildscript {
    ext.kotlin_version = '1.3.0-rc-146'
    repositories {
        google()
        jcenter()
        maven { url '<https://dl.bintray.com/kotlin/kotlin-eap>' }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.2.1'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}
But I cannot resolve this line in my app build.gradle:
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
It fails with the following message:
Failed to resolve: org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.0-rc-146
Do you now how to implement the stdlib for kotlin in the gradle file? I've been to MVN repository (https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib/1.3.0-rc-146) and used their gradle line. It still displays
Failed to resolve: org.jetbrains.kotlin:kotlin-stdlib:1.3.0-rc-146
. Help? 😄
you do not have to use the buildscript