Technology RadarTechnology Radar

Gradle KTS for Android

gradleandroid
This item was not updated in last three versions of the Radar. Should it have appeared in one of the more recent editions, there is a good chance it remains pertinent. However, if the item dates back further, its relevance may have diminished and our current evaluation could vary. Regrettably, our capacity to consistently revisit items from past Radar editions is limited.
Adopt

Gradle KTS is a version of Gradle written in Kotlin. It offers a number of advantages over the Groovy version of Gradle, including:

Clearer and more concise code: Kotlin code is clearer and more concise than Groovy code. This makes the code easier to read and understand. Better support for modern Kotlin features: Gradle KTS supports modern Kotlin features, such as properties, extension functions, and nullable types. Better integration with other Kotlin tools: Gradle KTS integrates well with other Kotlin tools, such as Kotlin IDEs and Kotlin compilers.

Gradle KTS is the recommended choice for Android application development. It is included by default in Android Studio since version 4.2.