Go to content

KotlinConf 2019: Implementing the Gradle Kotlin DSL by Rodrigo Oliveira

Recording brought to you by American Express. https://americanexpress.io/kotlin-jobs 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: https://jb.gg/fyaze5 KotlinConf on Twitter: https://twitter.com/kotlinconf Kotlin website: https://jb.gg/pxrsn6 Kotlin blog: https://jb.gg/7uc7ow Kotlin on Twitter: https://twitter.com/kotlin #KotlinConf19 #Kotlin #JetBrains About the Presenter: Principal Software Engineer at Gradle Inc. Extreme programmer and former Gradle Kotlin DSL project lead.

December 4, 2019