# Kotlin 1.3.60 Early Access Preview

**URL:** https://discuss.kotlinlang.org/t/kotlin-1-3-60-early-access-preview/14579
**Category:** EAP
**Created:** [October 8, 2019, 5:56pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-3-60-early-access-preview/14579 "2019-10-08T17:56:09Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Dmitriy.Novozhilov](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/dmitriy.novozhilov/32/6818_2.png) [@Dmitriy.Novozhilov](https://discuss.kotlinlang.org/u/Dmitriy.Novozhilov)
#### Post date: [October 8, 2019, 5:56pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-3-60-early-access-preview/14579/1 "2019-10-08T17:56:09Z")

</div>

We are happy to announce the 1.3.60 Early Access Preview opening.

In this EAP we have some improvements in Kotlin/JS test infrastructure:

- Browser test task is failed if there were some fails in launching of Karma [KT-31663](https://youtrack.jetbrains.com/issue/KT-31663)
- Standard output (log, warn, error) of tests (browser and nodejs both) now captured to Gradle test output [KT-32073](https://youtrack.jetbrains.com/issue/KT-32073)
- Filter tests for browser and nodejs via `--tests` CLI argument [KT-32216](https://youtrack.jetbrains.com/issue/KT-32216)
- Support source maps for Gradle stack traces [KT-31478](https://youtrack.jetbrains.com/issue/KT-31478)

Also experimental stdlib function `typeOf` presented in 1.3.40 for Kotlin/JVM is supported for Kotlin/JS now.

In Kotlin/Native we’ve added support for XCode 11 and some new compilation targets (see [changelog](https://github.com/JetBrains/kotlin-native/blob/671da8181cb729dca449cc597dc6c89d4f429b73/CHANGELOG.md) for additional information). Also there are some performance improvements.

In IDEA plugin there is new feature available: in-project scratch files, aka _Worksheets._

Note that since 1.3.60 minimal supported gradle version is 4.9.

Other improvements and fixes beyond these highlights for the upcoming 1.3.60 release can be found in the [full changelog](https://github.com/JetBrains/kotlin/blob/f4c170f1565ed425a27c7cd874dc9cc575931462/ChangeLog.md) and [separately](https://github.com/JetBrains/kotlin-native/blob/671da8181cb729dca449cc597dc6c89d4f429b73/CHANGELOG.md) for Kotlin Native.

Please note that compatible Native libraries have not been shipped yet. We are aiming to release it soon.

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

```groovy
buildscript { 
  ext.kotlin_version = '1.3.60-eap-143' 
  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](https://kotl.in/issue). Please don’t forget to specify your IDE/build system Kotlin versions.

---

<div class="post-metadata">

### Author: ![rnikander](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/rnikander/32/6881_2.png) [@rnikander](https://discuss.kotlinlang.org/u/rnikander)
#### Post date: [November 1, 2019, 5:04pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-3-60-early-access-preview/14579/2 "2019-11-01T17:04:33Z")

</div>

Should I be able to use the serialization plugin with this? My build.gradle file works with 1.3.50, but if I change the plugin version, I get an error.

```
buildscript {
    ext.kotlin_version = "1.3.60-eap-76"
    // ext.kotlin_version = "1.3.50"
    repositories {
        maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
        jcenter()
    }
    dependencies {
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath("org.jetbrains.kotlin:kotlin-serialization:$kotlin_version")
    }
}
plugins {
    id 'org.jetbrains.kotlin.multiplatform' version '1.3.50' 
    // id 'org.jetbrains.kotlin.plugin.serialization' version '1.3.50'
    id 'org.jetbrains.kotlin.plugin.serialization' version "1.3.60-eap-76"
}

```

> Plugin [id: ‘org.jetbrains.kotlin.plugin.serialization’, version: ‘1.3.60-eap-76’] was not found in any of the following sources:

---

<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: [November 1, 2019, 7:38pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-3-60-early-access-preview/14579/3 "2019-11-01T19:38:53Z")

</div>

Not sure about this version, but in my experience it takes a bit longer for eap builds of the serialization library to be released, if there is a release for it at all.

---

<div class="post-metadata">

### Author: ![rnikander](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/rnikander/32/6881_2.png) [@rnikander](https://discuss.kotlinlang.org/u/rnikander)
#### Post date: [November 1, 2019, 9:59pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-3-60-early-access-preview/14579/4 "2019-11-01T21:59:00Z")

</div>

The [github page](https://github.com/Kotlin/kotlinx.serialization) shows an EAP version (0.14.0-1.3.60-eap-76), but I’ve tried putting that string in various places in my build.gradle file and nothing works.

---

<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: [November 1, 2019, 10:03pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-3-60-early-access-preview/14579/5 "2019-11-01T22:03:07Z")

</div>

Use `0.14.0-1.3.60-eap-76` as the version for the serialization dependency. Since it’s still in alpha, it’s version might not be the same as the kotlin version.

---

<div class="post-metadata">

### Author: ![rnikander](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/rnikander/32/6881_2.png) [@rnikander](https://discuss.kotlinlang.org/u/rnikander)
#### Post date: [November 1, 2019, 10:24pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-3-60-early-access-preview/14579/6 "2019-11-01T22:24:03Z")

</div>

> Plugin [id: ‘org.jetbrains.kotlin.plugin.serialization’, version: ‘0.14.0-1.3.60-eap-76’] was not found in any of the following sources:

---

<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: [November 1, 2019, 10:29pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-3-60-early-access-preview/14579/7 "2019-11-01T22:29:05Z")

</div>

It seems like you need to add `https://kotlin.bintray.com/kotlinx` to your maven depository list. This is based on [JFrog Distribution: Get your software to where it needs to be -- ASAP!](https://bintray.com/kotlin/kotlinx/kotlinx.serialization.runtime/0.14.0-1.3.60-eap-76), haven’t tested it.

---

<div class="post-metadata">

### Author: ![rnikander](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/rnikander/32/6881_2.png) [@rnikander](https://discuss.kotlinlang.org/u/rnikander)
#### Post date: [November 2, 2019, 7:02am UTC](https://discuss.kotlinlang.org/t/kotlin-1-3-60-early-access-preview/14579/8 "2019-11-02T07:02:36Z")

</div>

I just added that to the buildscript section and the main section. Still get the error.

```
buildscript {
    ..
    repositories {
        maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
        maven { url 'https://kotlin.bintray.com/kotlinx' }
        jcenter()
    }

```

---

<div class="post-metadata">

### Author: ![Shakezulla57](https://avatars.discourse-cdn.com/v4/letter/s/838e76/32.png) [@Shakezulla57](https://discuss.kotlinlang.org/u/Shakezulla57)
#### Post date: [November 5, 2019, 4:21pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-3-60-early-access-preview/14579/9 "2019-11-05T16:21:33Z")

</div>

I’m using the eap while trying out the new Jetpack Compose android library. I’m having issues with I believe kapt and dagger 2 in the same project. Are there any known issues with kapt or any work around any has seen?

e: java.lang.IllegalStateException: Backend Internal error: Exception during code generation  
File being compiled at position: file:///myfilepath  
The root cause java.lang.AssertionError was thrown at: org.jetbrains.kotlin.codegen.state.KotlinTypeMapper.mapType(KotlinTypeMapper.kt:261)

---

<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: [November 5, 2019, 4:38pm UTC](https://discuss.kotlinlang.org/t/kotlin-1-3-60-early-access-preview/14579/10 "2019-11-05T16:38:08Z")

</div>

Hi,  
Since you are using Gradle’s `plugins` block I believe that you need to add `kotlin-eap` bintray repository to [Gradle plugin repositories](https://docs.gradle.org/current/userguide/plugins.html#sec:custom_plugin_repositories). Version of **plugin** must be the same as compiler one, `1.3.40-eap-76`, while version of **runtime library** is, indeed, `0.14.0-1.3.60-eap-76`.

---

<div class="post-metadata">

### Author: ![Alexey.Belkov](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/alexey.belkov/32/5215_2.png) [@Alexey.Belkov](https://discuss.kotlinlang.org/u/Alexey.Belkov)
#### Post date: [November 6, 2019, 9:48am UTC](https://discuss.kotlinlang.org/t/kotlin-1-3-60-early-access-preview/14579/11 "2019-11-06T09:48:10Z")

</div>

Kapt is currently not usable with Jetpack Compose, see [https://youtrack.jetbrains.com/issue/KT-34583](https://youtrack.jetbrains.com/issue/KT-34583).
