~/talk

Speeding up inner dev loop with Gradle Configuration Cache

Talkat droidcon Berlin 2025 · 2025-09-24..09-26· [java]
links:none on file
links:none on file
slides:none on file

Demonstrates that enabling Configuration Cache and fixing serialization issues cuts configuration time from over 15 seconds to about 1 second on their example build and can drop repeat runs to tens of milliseconds once tasks are adjusted. Walks through concrete fixes: avoid capturing project or Configuration objects, switch to file collections and Provider API, use the configuration cache report and dry run to find errors, mark noncompatible tasks, and optionally use the commercial product Velocity for cross‑machine caching and observability.

AI-written summary · about

  1. 0:00Introduction
  2. 1:47Inner dev loop speed
  3. 3:11Gradle build lifecycle
  4. 4:13Optimizing execution phase
  5. 5:36Gradle Configuration Cache
  6. 8:50Adoption and benefits
  7. 9:31How it works
  8. 14:48Adoption steps
  9. 16:54Common issues demo
  10. 25:54Fixing compatibility
  11. 31:42Final enablement steps
  12. 32:03Parallelism and work avoidance
  13. 35:15Improving hit rates
  14. 39:04Tracking usage
  15. 40:09Future plans
  16. 41:12Conclusion & 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.