~/talk

Gradle pipeline optimisation: Beyond basics

Talkat Mobius 2019 Piter · 2019-05-22..05-23· [android]
links:none on file
slides:none on file

Concrete steps and measured outcomes for speeding Gradle builds: full local build time drops from ~40 to ~12 minutes and CI builds to ~6 minutes after caching and modular work, configuration time falls from 41s to 17s, converting Android library modules to compileOnly + jar transform cuts tasks from 33 to 14 and halves artifact size, Redis-backed build cache reduces build time ~20%, GraalVM yields ~4% faster compiles while OpenJ9 uses ~20% less memory, RAM disk halves heavy IO builds, and removing PowerMock trims test time ~25% and ~4 GB memory.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 2:09Gradle build time challenges
  3. 5:20Resource allocation strategies
  4. 9:53Project configuration time
  5. 18:19Plugin optimization techniques
  6. 24:36Dagger and kapt optimizations
  7. 27:26Build cache improvements
  8. 33:01Alternative JVM testing
  9. 36:11Android Lint optimizations
  10. 37:17Compile-only dependencies
  11. 39:48Unit test performance
  12. 42:15RAM disk for IO-bound builds
  13. 44:01Esoteric Gradle methods
  14. 45:23Future Gradle improvements
  15. 46:26Conclusion and key takeaways
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.