~/talk

Deep Dive into the Android Gradle Plugin

links:none on file

Explains what the Android Gradle Plugin actually does: task graph versus configuration, why variant-aware tasks are created in afterEvaluate, and how the build shells out to an AAPT2 daemon (parallel workers that convert resources to a binary flat file). Shows the r.jar feature to skip generating r.java and avoid javac for pure Kotlin modules, the artifact view API for wiring artifacts, and claims enabling build cache gives about 60% improvement in local builds.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:53Gradle build phases explained
  3. 8:54Task configuration pitfalls
  4. 13:29Execution phase and task graph
  5. 15:36Variants and build types
  6. 17:00Debugging Gradle builds
  7. 23:56API vs implementation dependencies
  8. 28:29AAR build task breakdown
  9. 33:47Resource processing internals
  10. 43:41Manifest merging details
  11. 45:49R.java and build optimizations
  12. 48:19Lint and artifact views
  13. 51:48Transform API and bytecode
  14. 52:50Feature flags and build improvements
  15. 54:16Profiling and build optimization
~/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.