~/talk

Common Cache issues in Android projects - 2023 Edition

speakerdeck:cdsap
slides:none on file

Practical checklist of reproducible cache failures and fixes for Android Gradle builds: absolute paths and live-edit live literals embed user-specific paths causing cache misses; KSP uses internal sub-plugin options and is fixed by a merged PR (KSP sub-plugin options fix); JDK runtime differences are normalized to eliminate non-deterministic transform outputs; CI/local Gradle property mismatches and version-catalog accessor hash changes explain many misses; configuration-cache break with kapt on Gradle 8.1 is reproducible by attaching a debugger; observed 60% reduction in heap/process load when remote caching is working; artifact transforms are now visible in build scans.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 1:59What Gradle solutions team does
  3. 4:05Caching basics and benefits
  4. 6:54Gradle build caching explained
  5. 8:39Android caching specifics
  6. 10:02What is a cache miss
  7. 11:26CI vs local config differences
  8. 12:54Live literals in Compose
  9. 15:00KSP plugin options issue
  10. 18:33Java compiler transform output
  11. 23:12JDK version normalization
  12. 23:33Observability components cache misses
  13. 25:42Task implementation changes
  14. 27:49Version catalogs and accessors
  15. 30:16Configuration cache misses
  16. 33:44Debugging task inputs
  17. 36:10Artifact transforms in build scans
  18. 39:22Build scan timeline improvements
  19. 40:05Closing and resources
~/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.