Kotlin 1.2.20 EAP

We’re happy to announce the EAP for Kotlin 1.2.20.

What’s new

This release contains:

  • Gradle build cache support (KT-15753)
    • Requires Gradle 4.3+
    • For kapt it should be enabled explicitly by adding kapt { useBuildCache = true } to the buildscript
  • Major performance improvements in incremental compilation for mixed Java/Kotlin and Android projects (KT-17621, KT-21622) NB: You need to enable them explicitly by adding kotlin.incremental.usePreciseJavaTracking=true to your gradle.properties
  • Major performance improvements in the IntelliJ plugin
  • Fixes for @Parcelize (KT-20928, KT-20031, KT-20717 and others)
  • Lots of fixes and improvements in kapt
  • JS DCE improvements: dev mode for faster builds and configurable output directory (KT-20210, KT-21307)
  • New inspections and intentions in the IntelliJ plugin
  • Lots of bugs are fixed in the compiler and IDE

And many other improvements, see full changelog for details

How to get 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” and press Check for updates now.

For Gradle or Maven:

Add https://dl.bintray.com/kotlin/kotlin-eap to your repositories.
Note: since 1.2.20 eap artifacts will be published only to kotlin-eap bintray channel.

Change the version of Kotlin dependencies (compiler and stdlib) to 1.2.20-eap-71

Please do provide feedback and report any issues to our issue tracker (please specify your plugin version and IDE version).

2 Likes

New EAP build 1.2.20-eap-33 is available. See changelog for details.

New EAP build 1.2.20-eap-71 is available. See changelog for details.
Gradle build cache support is introduced in this build:

  • Requires Gradle 4.3+
  • For kapt it should be enabled explicitly by adding kapt { useBuildCache = true } to the buildscript