Kotlin 1.1.1 is out

Today we’re releasing the first bugfix update for Kotlin 1.1
. The primary focus of this update is to address regressions causing incorrect code generation; we wanted to get those fixes out as quickly as possible. The details are available in the changelog

The specific changes worth highlighting are:

  • Gradle incremental compilation
    is now enabled by default. You can still turn it off as described in the documentation
    if you need to.
  • Kotlin plugins are now available in the
    Gradle plugin portal

    . See the documentation
    for usage instructions.
  • Using function types with receivers as parameter types of JavaScript external declarations
    is no longer allowed. Previously, lambdas passed to such parameters weren’t invoked with correct arguments, and there’s no easy workaround for this issue, so for now we’ve decided to disable the functionality.

We’ve also updated the Kotlin Eclipse
and NetBeans
plugins to include Kotlin 1.1.1, so you can enjoy the benefits of the new Kotlin version regardless of your IDE choice.

How to update

To update the IDEA plugin, use Tools | Kotlin | Configure Kotlin Plugin Updates and press the “Check for updates now” button. Also, don’t forget to update the compiler and standard library version in your Maven and Gradle build scripts.

The command-line compiler can be downloaded from the Github release page

As usual, if you run into any problems with the new release, you’re welcome to ask for help on the forums
, on Slack (get an invite here
), or to report issues in theissue tracker.

Let’s Kotlin!

Kotlin Blog稿源:Kotlin Blog (源链) | 关于 | 阅读提示

本站遵循[CC BY-NC-SA 4.0]。如您有版权、意见投诉等问题,请通过eMail联系我们处理。
酷辣虫 » 综合编程 » Kotlin 1.1.1 is out

喜欢 (0)or分享给?

专业 x 专注 x 聚合 x 分享 CC BY-NC-SA 4.0

使用声明 | 英豪名录