~/talk

A Complete Journey of Android Modularisation

Talkat droidcon Berlin 2022 · 2022-07-06..07-08· [frontend-architecture]
slides:none on file

A practical account of splitting a 200k‑line monolith into 150+ modules with 10+ developers, showing concrete wins and tradeoffs: use of Gradle profiler and Gradle Enterprise to track CPU utilization (peaked at ~4.7 cores), moving build logic into included builds, enabling configuration cache, and adopting R namespacing to shrink resource merge cost. Covers public‑API interfaces for feature boundaries, template modules to reduce setup friction, dependency‑graph flattening (avoiding depth >15) and when to stop splitting to avoid worse build times.

AI-written summary · about

  1. 0:00Introduction to modularisation
  2. 1:11When to modularise
  3. 4:23Goals and benefits of modularisation
  4. 8:59Build performance and CPU utilisation
  5. 14:57Dependency depth and parallelisation
  6. 17:25Starting modularisation with Gradle
  7. 20:32When to stop modularising
  8. 22:59Resource and configuration optimisation
  9. 25:49Navigation challenges in modular apps
  10. 30:45Legacy code and reusable modules
  11. 33:56Where to start modularisation
  12. 35:19Summary and team effort
~/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.