Kotlin 1.3.30 Early Access Preview


#1

Early Access Preview for Kotlin 1.3.30 is now open, with a new Kotlin Evaluator (in particular, Kotlin mode in Variables tool window, async stack traces for coroutines), a lot of improvements in Kotlin/Native (in particular, support for 32-bit Windows targets, support for cross-compilation to Linux from macOS and Windows hosts), import alias intention, interactive mode for scratch files, multiline TODO comments and many small features & bugfixes.

Please follow up and try it first! The full changelog is 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.3.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, and set kotlin_version to 1.3.30-eap-45 . Here is how to do this in Gradle:

buildscript {
    ext.kotlin_version = '1.3.30-eap-45'

    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"
}

Please provide feedback and report issues to our issue tracker . Please don’t forget to specify your IDE/build system Kotlin plugin versions.


pinned globally #2

#3

I note the ‘here is how to do this in gradle’ is still groovy script only. I wonder if/when the default will become kotlin script gradle?


#4

One of possible ways to do it using kotlin script gradle is:

plugins {
    kotlin("jvm") version "1.3.30-eap-45"
}

repositories {
    maven("https://dl.bintray.com/kotlin/kotlin-eap")
    mavenCentral()
}

dependencies {
    implementation(kotlin("stdlib"))
}

with the following plugin management section inside settings.gradle:

pluginManagement {
    repositories {
        maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
        mavenCentral()
        maven { url 'https://plugins.gradle.org/m2/' }
    }
}

#5

It is still groovish. Should be maven("https://dl.bintray.com/kotlin/kotlin-eap").


#6

Updated to new EAP version (1.3.30-eap-45)