KotlinConf 2019: Implementing the Gradle Kotlin DSL by Rodrigo Oliveira

Recording brought to you by American Express. By building on the Kotlin language support for scripting, some of its more advanced features enabled by the new Kotlin type inference engine and a few key metaprogramming techniques such as multi-stage programming and partial evaluation, the #Gradle Kotlin DSL is able to deliver a productive statically typed experience over the dynamic configuration model employed by the Gradle build tool. In this implementation focused talk we will see how each essential aspect of the Gradle Kotlin DSL is made possible by the Kotlin tooling as we explore answers to the following questions: * How to provide a streamlined, ceremony free, script programming model over an existing and rich Java API? * How to enable statically typed and content assistable access to dynamic programming elements defined in an external model? * How to ensure great performance for repeated script executions? Resources: KotlinConf website:
Back to Top