Use Kotlin DSLs for your Gradle scripts
summary
Gradle 5.0 Kotlin DSL is presented as production-ready and the talk gives concrete migration steps: rename .gradle files to .gradle.kts, switch single to double quotes, add braces in string templates, use plugin { id("...") } and add explicit task/type signatures. It shows code reuse via buildSrc and a real custom plugin (replacing a CLI translation tool using Retrofit) and discusses interoperability with Groovy while warning about API incompatibilities, limited ecosystem adoption and slow IDE autocompletion during migration.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:18Kotlin DSL for Gradle
- 3:48Migrating from Groovy
- 7:45Kotlin module reuse
- 9:07Migrating settings.gradle.kts
- 11:17Migrating build.gradle.kts
- 13:22Android plugin specifics
- 14:26Migration feedback
- 17:14Should you migrate?
- 18:57Conclusion
- 19:17Q&A








