Lightning fast Android builds with Gradle + Buck
summary
Gradle projects convert to Buck build rules via the open source OkBuck plugin which generates the rule files (a sample repo produces ~25,000 lines) and a buckw wrapper that auto-regenerates and runs Buck. Uber reports 8x–60x faster incremental builds, remote build cache and CI SCM‑aware mode make local and CI builds effectively incremental, jars are fetched from Gradle cache (no need to commit), and many Android features (annotation processors, multidex, tests) are supported.
AI-written summary · about
chapters (12)
- 0:00Introduction and Gradle overview
- 4:09Gradle scalability challenges
- 7:25Why consider Buck
- 11:59Buck limitations and migration pain
- 13:44OKBuck plugin introduction
- 18:14OKBuck supported features
- 21:24Quick migration guide
- 24:52Optimizing Buck builds
- 27:59Android Studio vs IntelliJ with Buck
- 30:26Known issues and gotchas
- 31:52OKBuck future and summary
- 32:39Q&A session
related talks
33mHow Facebook Built Facebook for Android
39mWorking with Alternative Build Systems
49mGradle
36mTop Build Performance issues in Android projects - 2023 Edition
33mIMPROVING ANDROID BUILD PERFORMANCE
47mBuild times breaking your flow? Learn how to speed them up!
44mA Healthy Dose of Gradle
28mEffective Gradle Scripts for Android Projects
