~/talk

Migrate to build.gradle.kts

TalkinJapaneseat DroidKaigi 2019 · 2019-02-07..02-08· [kotlin]
name:tnj
links:none on file
slides:none on file

Migrate Gradle build scripts from Groovy to the Kotlin DSL incrementally by first using Gradle 5.0 + Kotlin DSL 1.0 and Android Gradle Plugin 3.3+, cleaning up Groovy, then renaming files one-by-one and fixing syntax differences (properties vs calls, task registration, buildTypes getByName/create). Move shared version constants into buildSrc Kotlin objects instead of ext, keep problematic plugins or scripts as apply-from Groovy files (e.g., Google Services, Fabric), and rely on IDE completion and error markers to guide fixes; the approach was applied successfully to a real app.

AI-written summary · about

  1. 0:00Introduction
  2. 4:26New project migration
  3. 11:08Existing project migration
  4. 18:06Migration issues and fixes
  5. 25:37DSL patterns and notes
  6. 30:00Known issues and workarounds
  7. 31:05Summary
~/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.