~/talk

Gradle scripts in Kotlin: is it cool?

Talkat GDG DevFest Ukraine 2017 · 2017-10-13..10-14· [kotlin]
links:none on file
slides:none on file

Argues that switching Gradle scripts to Kotlin yields static typing, immediate IDE autocomplete and earlier error detection by converting build.gradle to gradle.kts and running the accessorSnapshot task to generate a project schema JSON. Demonstrates converting an Android project end-to-end, replacing Groovy syntactic sugar with explicit calls; build and run succeed after adding an Android-specific workaround (configure<Android>()), but some plugins (notably Gradle Play Publisher) remain incompatible and tooling is still alpha, so partial migration is safer than full rewrite.

AI-written summary · about

  1. 0:00Introduction to Gradle DSL
  2. 10:41Problems with Groovy DSL
  3. 13:11Kotlin DSL advantages
  4. 20:37Migration to Kotlin DSL demo
  5. 31:12Final recommendations and Q&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.