~/talk

Kotlinify your Gradle

Talkat Android Makers 2018 · on Monday, 2018-04-23· [developer-experience]
slides:none on file

Builds and runs a concrete Gradle plugin that scans TODO comments across Android variants, uses the Android Gradle Plugin API to enumerate source sets and create per-variant tasks, validates extension properties and reports clickable file:line results in the IDE, and publishes locally via Maven for testing against an example app. Shows converting Groovy build scripts to Kotlin DSL (.kts), explains lambda-with-receiver APIs for configuration and their limits, notes Kotlin DSL v0.16.3 is usable but flaky and requires IDE refreshes and manual fixes and converts build.gradle to build.gradle.kts.

AI-written summary · about

  1. 0:00Start
  2. 0:19WHO AM I?
  3. 0:52AGENDA
  4. 1:15WHAT IS GRADLE
  5. 2:01INTERESTING EXISTING PLUGINS
  6. 2:45BUILDING A GRADLE PLUGIN
  7. 21:17WHAT IS A DSL
  8. 21:44SIMPLE DSL EXAMPLE
  9. 24:21THE APPLY FUNCTION
  10. 26:31WHAT IS THE KOTLIN-DSL
  11. 27:08PS: CONVERT TO K IN TWO GIT PHASES
  12. 28:07CONVERTING OUR PLUGIN - 1
  13. 31:43CONVERTING OUR ANDROID APP - 2
  14. 34:39RECAP
  15. 35:43LINKS
~/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.