5 ways to improve your Android build productivity
summary
Five concrete fixes: keep Android Gradle Plugin and Gradle up to date (AGP 7 replaces compile with implementation), enable configuration cache in gradle.properties to reuse config data, centralize versions in a version catalog (libs.versions.toml) instead of dynamic + or * stars, disable Jetifier once no support libraries remain, create a dev flavor with resConfigs, avoid buildConfig generation and mixed Java/Kotlin, and move build logic into composite builds with convention plugins via includeBuild — yields noticeably fewer rebuilds and faster parallel/incremental builds.
AI-written summary · about
chapters (6)
- 0:00Introduction to build productivity
- 1:08Update tools and dependencies
- 7:49Use version catalogs
- 11:00Avoid unnecessary build work
- 22:36Manage complex build files
- 31:24Additional resources and Q&A
related talks
40mImproving Android Build Performance
33mIMPROVING ANDROID BUILD PERFORMANCE
36mTop Build Performance issues in Android projects - 2023 Edition
41mKeeping your team's Gradle builds in top shape
42mCache Me If You Can
34mWhat's new in Android development tools
30mImproving Android Build performance
45mThe Android Build System
