The Gradle team has released Gradle 8.0 featuring a reduction in the build duration and an improved Kotlin DSL that supports Kotlin 1.8 and Java 11 features in the build scripts.
Kotlin DSL, first introduced in 2018, may be used as an alternative to the Groovy DSL and offers improved content assistance, refactoring and documentation in supported IDEs such as IntelliJ, Eclipse, Apache NetBeans and Visual Studio Code. The latest release allows .gradle.kts scripts to use Java 11 features instead of Java 8.