We’re happy to announce the Early Access Preview (EAP) build for Kotlin 1.2.70!
What’s new
The full changelog is available here.
How to get the EAP build
For IntelliJ IDEA
You can configure Early Access Preview channel in Tools → Kotlin → Configure Kotlin Plugin Updates. Change the update channel to ‘Early Access Preview 1.2.x’ and press Check for updates now.
For Maven or Gradle
Add the https://dl.bintray.com/kotlin/kotlin-eap repository URL to the list of project repositories. Change the version of Kotlin dependencies (compiler and stdlib) to 1.2.70-eap-40
.
Here is how to do this in Gradle:
buildscript {
ext.kotlin_version = '1.2.70-eap-40'
repositories {
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: "kotlin"
repositories {
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
Please provide feedback and report issues to our issue tracker. Please don’t forget to specify your IDE/build system Kotlin plugin versions.