~/talk

Gradle: The Build System That Loves To Hate You

Talkat droidcon London 2024 · 2024-10-31..11-01· [devops-and-delivery]
links:none on file
slides:none on file

Android X doubles from ~400 to ~800 Gradle projects and grows Java/Kotlin from ~1M to >3M LOC while CI assemble-debug averages ~11s, but maintaining that requires ~1.5 dedicated build engineers. Coverage includes concrete pitfalls and fixes: task.create vs register (configuration vs execution), use configureEach to keep laziness, prefer providers/flatMap over dependsOn, always declare outputs and enable build cache and mark tasks cacheable, use configurations+attributes for safe cross-project artifacts, and align build classpaths (apply false in root) to share build services.

AI-written summary · about

  1. 0:00Gradle challenges
  2. 1:09Gradle scalability with Android X
  3. 3:55Gradle task pitfalls
  4. 9:31Lazy vs eager execution
  5. 12:20Task dependencies handling
  6. 15:31Task output caching
  7. 17:39Build caching up-to-dateness
  8. 21:05Cross-project artifact issues
  9. 26:44Reusing work with build services
  10. 32:04Gradle problematic APIs
  11. 33:49Gradle settings best practices
  12. 35:52Q&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.