~/talk

multi-module Android application

TalkinJapaneseat DroidKaigi 2019 · 2019-02-07..02-08· [android, frontend-architecture]
links:none on file
slides:none on file

An Android app was split from one large Gradle module into 40 modules to speed builds: full builds fell from ~36s to ~31s with parallel modules and incremental edits from ~14s to ~10s for well-structured splits. Techniques include using implementation instead of api to limit recompiles, extracting heavy bytecode tooling (example: moving Realm bytecode weaving into its own module, cutting a 6m46s build to ~2m20s), watching annotation-processing scope, and using Dagger Android support plus dynamic feature modules to avoid cyclic dependencies.

AI-written summary · about

  1. 0:00Multi-module Android apps
  2. 1:13Modularization benefits and types
  3. 6:41AGP 3.0+ build speed
  4. 18:26Measuring build time
  5. 24:28Speedup with plugins
  6. 30:37Dependency design for builds
  7. 35:29Horizontal module splitting
  8. 39:39Vertical feature splitting
  9. 44:16Migrating to multi-module
  10. 50:53Summary and outlook
~/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.