Menu
Kotlin 1.4 reaches release candidate stage

Kotlin 1.4 reaches release candidate stage

IDE accommodations, Node.js API bindings among highlights in lead-up to production release

Credit: Robert Shunev

Kotlin 1.4, a major upgrade to the JetBrains-developed statically typed language initially built for the JVM, has reached its release candidate (RC) stage, with improved IDE support and a preview of Node.js API bindings.

The Kotlin 1.4 RC, published July 27, features improvements to IDE support for Gradle Kotlin DSL scripts (*.gradle.kt files) including explicit loading of script configurations, either by clicking Load Gradle Changes or reimporting the Gradle project. Previously, when developers added a new plug-in to the buildscript or plugins block of build.gradle.kts, the new script configuration was loaded automatically in the background, a process that often hindered IDE performance. 

The Kotlin 1.4 RC also adds an action in the IntelliJ Idea 2020.1 IDE, called Load Script Configurations, which loads changes to Gradle script configurations without updating the whole project, thus taking less time. Also for gradle.kts IDE support, better error reporting has been enabled by having the Gradle daemon return all information about errors and showing it in the Build tool window.

The Kotlin 1.4 RC’s preview of bindings for Node.js APIs, kotlinx-nodejs, provides type-safe access to the Node API. Although it was possible to target Node.js previously, the new bindings unlock the full potential of the target.

To try Kotlin, developers can access the Kotlin Playground. Developers using IntelliJ Idea and Android Studio can update the Kotlin Plugin to version 1.4.0-RC by following these instructions. The command line compiler can be downloaded from GitHub.

The Kotlin 1.4 RC follows beta releases of Kotlin 1.4 that brought improvements to the standard library and introduced a more powerful type inference algorithm. Also new in the Kotlin 1.4 RC:

  • Integrations have been improved between Kotlin/JS and NPM dependencies, CSS, and ducat in Gradle.
  • Source sets now have the standard library dependency by default, both for multiplatform projects and projects that target a single platform.
  • For Kotlin/Native, management of CocoaPods dependencies has been simplified. CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects.
  • New functionality is offered to debug coroutines and define deep, recursive functions.
  • Improvements to the Kotlin Gradle plug-in enable developers to write less code in Gradle build files.
  • Starting with Kotlin 1.4, old Gradle plug-ins for targeting JavaScript with Kotlin, kotlin2js and kotlin-dce-js, will be officially deprecated in favor of kotlin.js.

Follow Us

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Events

Featured

Slideshows

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners

This year’s Reseller News 30 Under 30 Tech Awards were held as an integral part of the first entirely virtual Emerging Leaders​ forum, an annual event dedicated to identifying, educating and showcasing the New Zealand technology market’s rising stars. The 30 Under 30 Tech Awards 2020 recognised the outstanding achievements and business excellence of 30 talented individuals​, across both young leaders and those just starting out. In this slideshow, Reseller News honours this year's winners and captures their thoughts about how their ideas of leadership have changed over time.​

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners
Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security

Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security

This exclusive Reseller News Exchange event in Auckland explored the challenges facing the partner community on the cloud security frontier, as well as market trends, customer priorities and how the channel can capitalise on the opportunities available. In association with Arrow, Bitdefender, Exclusive Networks, Fortinet and Palo Alto Networks. Photos by Gino Demeer.

Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security
Reseller News welcomes industry figures at 2020 Hall of Fame lunch

Reseller News welcomes industry figures at 2020 Hall of Fame lunch

Reseller News welcomed 2019 inductees - Leanne Buer, Ross Jenkins and Terry Dunn - to the fourth running of the Reseller News Hall of Fame lunch, held at the French Cafe in Auckland. The inductees discussed the changing face of the IT channel ecosystem in New Zealand and what it means to be a Reseller News Hall of Fame inductee. Photos by Gino Demeer.

Reseller News welcomes industry figures at 2020 Hall of Fame lunch
Show Comments