Kotlin 2.5.0-Beta2, the second preview release in ...
# gradle
n
Kotlin 2.5.0-Beta2, the second preview release in the 2.5.0 cycle, is now available! 🎉 🔨 Gradle and build tooling updates: • Introduced new Node.js provisioning toolchain • Added a new DSL for declaring NPM dependencies. • Introduced a new Swift export DSL (documentation). • Enabled Compiler Reference Index generation by default for non-CI builds (documentation). • Added a dedicated Gradle DSL option for the unused-return-value checker. • Added full compatibility support for Gradle 9.8.0. 📦 Build Tools API and compilation improvements: • Removed support for the non-Build-Tools-API JVM compiler execution mode. • Reintroduced incremental compilation support for KMP/JVM. • Improved multi-project build performance by keeping JAR caches in the Kotlin daemon until the end of the build. This may require a slight increase in the Kotlin daemon's maximum heap size. ⚠️ Migration notes: • The legacy
swiftExport {}
DSL is deprecated; migrate to
export.swift {}
. • The minimum supported AGP version is now 8.8.2. • The minimum supported Gradle version remains 8.14.x, as introduced in Beta1. Try the preview and share your feedback at kotl.in/issue or here in Slack! 🧵
🎉 8
gradle intensifies 4