~/talk

Use Kotlin DSLs for your Gradle scripts

TalkinFrenchat DevFest Lille 2019 · on Friday, 2019-06-14· [kotlin, developer-experience]
slides:none on file

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

  1. 0:00Introduction
  2. 1:18Kotlin DSL for Gradle
  3. 3:48Migrating from Groovy
  4. 7:45Kotlin module reuse
  5. 9:07Migrating settings.gradle.kts
  6. 11:17Migrating build.gradle.kts
  7. 13:22Android plugin specifics
  8. 14:26Migration feedback
  9. 17:14Should you migrate?
  10. 18:57Conclusion
  11. 19:17Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.