Kotlin 2.4.0 ships Swift package support and Java 26

Kotlin 2.4.0 adds Swift package dependencies for Native, Java 26 for JVM, and WebAssembly Component Model. Multiplatform teams can consume Swift libraries directly and target newer Java. Upgrade via IntelliJ IDEA, Android Studio, or Gradle.
Kotlin 2.4.0 adds Swift package dependencies for Kotlin/Native, Java 26 support for Kotlin/JVM, and WebAssembly Component Model support for Kotlin/Wasm. The standard library now includes a stable UUID API and sorted-order checks. Gradle builds gain compatibility with Gradle 9.5.0, while Maven projects get automatic alignment between Java and JVM target versions. Context parameters and explicit backing fields are now stable language features.
Read the original → Kotlin Blog
- #kotlin
- #android
- #multiplatform
- #jvm
- #release
Get five bites like this every day.
Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.