# Kotlin 1.2.60 Early Access Preview

**URL:** <https://discuss.kotlinlang.org/t/kotlin-1-2-60-early-access-preview/8282>\
**Category:** EAP\
**Created:** [June 26, 2018, 12:31pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-2-60-early-access-preview/8282 "2018-06-26T12:31:25Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![udalov](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/udalov/32/5679_2.png) [@udalov](https://discuss.kotlinlang.org/u/udalov)\
**Post date:** [June 26, 2018, 12:31pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-2-60-early-access-preview/8282/1 "2018-06-26T12:31:26Z")

</div>

We’re happy to announce the Early Access Preview (EAP) build for Kotlin 1.2.60!

### What’s new

The full changelog is available [here](https://github.com/JetBrains/kotlin/releases/tag/v1.2.60-eap-7).

### 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. Here is how to do this in Gradle:

```auto
buildscript {
    ext.kotlin_version = '1.2.60-eap-7'

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

```

Change the version of Kotlin dependencies (compiler and stdlib) to `1.2.60-eap-7`.

Please provide feedback and report issues to our [issue tracker](https://kotl.in/issue). Please don’t forget to specify your IDE/build system Kotlin plugin versions.

---

<div class="post-metadata">

**Author:** ![sam.zhou](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/sam.zhou/32/4922_2.png) [@sam.zhou](https://discuss.kotlinlang.org/u/sam.zhou)\
**Post date:** [June 26, 2018, 2:46pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-2-60-early-access-preview/8282/2 "2018-06-26T14:46:57Z")

</div>

The changelog mentions inline class. Is there a way to enable it?

---

<div class="post-metadata">

**Author:** ![udalov](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/udalov/32/5679_2.png) [@udalov](https://discuss.kotlinlang.org/u/udalov)\
**Post date:** [June 26, 2018, 3:22pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-2-60-early-access-preview/8282/3 "2018-06-26T15:22:23Z")

</div>

Inline classes are actually a feature of an upcoming 1.3 ([Inline classes · Issue #104 · Kotlin/KEEP · GitHub](https://github.com/Kotlin/KEEP/issues/104)), which is being developed in the master branch under a separate compiler argument for simplicity. You can enable the feature with the compiler argument `-XXLanguage:+InlineClasses`. Note that this will mark your compiled code as “pre-release”, so that it’d be impossible to use it as a library when using “release” Kotlin versions (less than 1.3 at the moment).

---

<div class="post-metadata">

**Author:** ![medium](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/medium/32/10404_2.png) [@medium](https://discuss.kotlinlang.org/u/medium)\
**Post date:** [June 27, 2018, 10:15am UTC](https://discuss.kotlinlang.org/t/kotlin-1-2-60-early-access-preview/8282/4 "2018-06-27T10:15:25Z")

</div>

I’m a bit sad that the REPL got no love. It could be such a useful tool …

---

<div class="post-metadata">

**Author:** ![darksnake](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/darksnake/32/2479_2.png) [@darksnake](https://discuss.kotlinlang.org/u/darksnake)\
**Post date:** [June 27, 2018, 10:33am UTC](https://discuss.kotlinlang.org/t/kotlin-1-2-60-early-access-preview/8282/5 "2018-06-27T10:33:03Z")

</div>

I am using [beakerx](http://beakerx.com/) with kotlin kernel. Works like charm. Of course you need python runtime for that.

---

<div class="post-metadata">

**Author:** ![ilya.gorbunov](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/ilya.gorbunov/32/1645_2.png) [@ilya.gorbunov](https://discuss.kotlinlang.org/u/ilya.gorbunov)\
**Post date:** [July 2, 2018, 1:57pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-2-60-early-access-preview/8282/6 "2018-07-02T13:57:41Z")

</div>



---

<div class="post-metadata">

**Author:** ![udalov](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/udalov/32/5679_2.png) [@udalov](https://discuss.kotlinlang.org/u/udalov)\
**Post date:** [July 5, 2018, 11:27am UTC](https://discuss.kotlinlang.org/t/kotlin-1-2-60-early-access-preview/8282/7 "2018-07-05T11:27:46Z")

</div>

The new build `1.2.60-eap-27` has been published. The changelog (relative to the previous build) is available [here](https://github.com/JetBrains/kotlin/releases/tag/v1.2.60-eap-27).

---

<div class="post-metadata">

**Author:** ![udalov](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/udalov/32/5679_2.png) [@udalov](https://discuss.kotlinlang.org/u/udalov)\
**Post date:** [July 10, 2018, 4:01pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-2-60-early-access-preview/8282/8 "2018-07-10T16:01:36Z")

</div>

The new build `1.2.60-eap-44` has been published. The changelog (relative to the previous build) is available [here](https://github.com/JetBrains/kotlin/releases/tag/v1.2.60-eap-44).

---

<div class="post-metadata">

**Author:** ![Wasabi375](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/wasabi375/32/4741_2.png) [@Wasabi375](https://discuss.kotlinlang.org/u/Wasabi375)\
**Post date:** [July 11, 2018, 3:27pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-2-60-early-access-preview/8282/9 "2018-07-11T15:27:40Z")

</div>

Gradle crashes with kotlinx.serialization plugin (v0.5.1)

```auto
* What went wrong:
A problem occurred configuring project ':caves'.
> Failed to notify project evaluation listener.
   > java.lang.AbstractMethodError (no error message)
   > java.lang.AbstractMethodError (no error message)

```

---

<div class="post-metadata">

**Author:** ![Leonid.Startsev](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/leonid.startsev/32/5433_2.png) [@Leonid.Startsev](https://discuss.kotlinlang.org/u/Leonid.Startsev)\
**Post date:** [July 11, 2018, 4:34pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-2-60-early-access-preview/8282/10 "2018-07-11T16:34:50Z")

</div>

There’s a note on github page of kotlinx.serialization that 1.2.60-eap-\* works only with 0.5.2-SNAPSHOT version of plugin

---

<div class="post-metadata">

**Author:** ![Wasabi375](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/wasabi375/32/4741_2.png) [@Wasabi375](https://discuss.kotlinlang.org/u/Wasabi375)\
**Post date:** [July 11, 2018, 4:36pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-2-60-early-access-preview/8282/11 "2018-07-11T16:36:44Z")

</div>

Woops, my bad 😊

---

<div class="post-metadata">

**Author:** ![udalov](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/udalov/32/5679_2.png) [@udalov](https://discuss.kotlinlang.org/u/udalov)\
**Post date:** [July 31, 2018, 9:58am UTC](https://discuss.kotlinlang.org/t/kotlin-1-2-60-early-access-preview/8282/12 "2018-07-31T09:58:19Z")

</div>

The new build `1.2.60-eap-75` has been published. The changelog (relative to the previous build) is available [here](https://github.com/JetBrains/kotlin/releases/tag/v1.2.60-eap-75).

---

<div class="post-metadata">

**Author:** ![craig.sabbey](https://avatars.discourse-cdn.com/v4/letter/c/ecb155/32.png) [@craig.sabbey](https://discuss.kotlinlang.org/u/craig.sabbey)\
**Post date:** [August 8, 2018, 8:40pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-2-60-early-access-preview/8282/13 "2018-08-08T20:40:50Z")

</div>

1.2.60 doesn’t work with cordova-android 6.3.0 - it fails with “null cannot be cast to non-null type com.android.build.gradle.internal.VariantManager”

---

<div class="post-metadata">

**Author:** ![udalov](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/udalov/32/5679_2.png) [@udalov](https://discuss.kotlinlang.org/u/udalov)\
**Post date:** [August 8, 2018, 9:36pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-2-60-early-access-preview/8282/14 "2018-08-08T21:36:16Z")

</div>

@craig.sabbey Please [report a new issue](https://kotl.in/issue) with the relevant code sample. Thanks!
