Online / 5 & 6 February 2022


Gradle: a deeper look at the Kotlin DSL

Everything you didn't want to know about Gradle Kotlin APIs

Originally designed for Groovy, Gradle now supports writing scripts in Kotlin. Writing your scripts in Kotlin brings more compile-type safety and IDE features but also has a few drawbacks.

In this talk, we will take a look some widely used Groovy constructs, their Kotlin equivalent and what’s happening under the hood. We will explore how Gradle loads scripts and uses Kotlin compiler flags to allow a the Kotlin DSL syntax.


Photo of Martin Bonnin Martin Bonnin