April 23, 2024


The Internet Generation

Kotlin 1.4 reaches release candidate stage

Kotlin one.four, a big enhance to the JetBrains-made statically typed language to begin with constructed for the JVM, has reached its release candidate (RC) stage, with improved IDE aid and a preview of Node.js API bindings.

The Kotlin one.four RC, published July 27, capabilities advancements to IDE aid for Gradle Kotlin DSL scripts (*.gradle.kt files) including explicit loading of script configurations, both by clicking Load Gradle Changes or reimporting the Gradle undertaking. Beforehand, when developers additional a new plug-in to the buildscript or plugins block of create.gradle.kts, the new script configuration was loaded quickly in the history, a process that usually hindered IDE efficiency. 

The Kotlin one.four RC also provides an motion in the IntelliJ Notion 2020.one IDE, named Load Script Configurations, which masses variations to Gradle script configurations without having updating the complete undertaking, thus taking less time. Also for gradle.kts IDE aid, better error reporting has been enabled by acquiring the Gradle daemon return all info about problems and exhibiting it in the Establish tool window.

The Kotlin one.four RC’s preview of bindings for Node.js APIs, kotlinx-nodejs, gives sort-safe accessibility to the Node API. Even though it was probable to focus on Node.js formerly, the new bindings unlock the whole possible of the focus on.

To try out Kotlin, developers can accessibility the Kotlin Playground. Developers working with IntelliJ Notion and Android Studio can update the Kotlin Plugin to model one.four.-RC by subsequent these instructions. The command line compiler can be downloaded from GitHub.

The Kotlin one.four RC follows beta releases of Kotlin one.four that introduced advancements to the typical library and released a far more effective sort inference algorithm. Also new in the Kotlin one.four RC:

Copyright © 2020 IDG Communications, Inc.