~/talk

Cache Me If You Can

Talkat DroidKaigi 2025 · 2025-09-10..09-12· [android]
name:RyuNen344
links:none on file
slides:none on file

Explains concrete steps to cut Android build time: how Gradle’s initialization/configuration/execution phases map to AGP’s lifecycle, why use Android Components API (AGP7/8.2) to set variant-scoped inputs, and why old variant APIs deprecate (AGP9 → removed in AGP10). Recommends enabling parallel build, local/remote Build Cache, and Configuration Cache recommended in Gradle 9, avoid afterEvaluate and project access in task actions, mark tasks @Cacheable, use Provider APIs, avoid timestamps/doFirst, split interface/impl modules to limit recompiles, and add Build Scan / DevVelocity plugin for profiling.

AI-written summary · about

  1. 0:00Gradle caching concepts
  2. 15:41Gradle lifecycle and AGP updates
  3. 22:47Gradle cache mechanisms
  4. 28:02Task inputs and outputs
  5. 34:00Multi-module project optimization
  6. 39:20Debugging with Build Scans
~/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.