Faster Feedback Cut Gradle Build and Pipeline Times in Half
summary
Claims a reproducible 50% reduction in Gradle and CI times on a production Android app by changing gradle.properties, upgrading JDK and Kotlin, and swapping annotation processing to KSP instead of KAPT. Shows measured wins like a local run dropping from 3:15 to 2:28 and a pipeline collapsing from 12 to 6 minutes after merging stages and enabling parallel jobs. Covers concrete tactics: repository ordering, pinning versions, Gradle caching and daemon settings, lightweight CI images and shared caches, and using the Gradle build scan/profiler to benchmark each change.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:45Faster feedback in builds
- 3:55Gradle build quick wins
- 10:00Gradle config tweaks
- 15:39Third-party libraries
- 17:48Hardware upgrades
- 19:32Local build summary
- 20:34CI/CD pipeline speed
- 26:24Build performance metrics
- 29:55Developer time value
- 31:19Q&A
related talks
30mImproving Android Build performance
30mHow we brought down our build times. General optimization tips
27mFaster builds on Android: from 2 minutes to 2 seconds
35mGradle recipes for reducing your build times
40mNail your Gradle build time
40mMake The Android Gradle Plugin Work For You
31mImproving Android Build performance
33mIMPROVING ANDROID BUILD PERFORMANCE
