How Not to Grow Old During Compilation: Kapt and Other Adventures
summary
A case study of reducing build time and coupling in a large monolithic Android project using Gradle and Dagger2. It describes a year-long refactoring and experiments (including changes to Kapt and build configuration) to speed up compilation and lower module interdependence, and presents the final solutions and lessons learned.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:06Slow build problem
- 3:56kapt and annotations
- 6:27Modular architecture
- 10:00Gradle Scan tool
- 14:16Minimal dependencies
- 25:19Dagger issues
- 37:23Fake module disabling
- 41:36Summary and future work
- 45:56Q&A
related talks
30mImproving Android Build performance
31mImproving Android Build performance
30mHow we brought down our build times. General optimization tips
29mForging the Dagger for the modern Android world
40mImproving Android Build Performance
36mTop Build Performance issues in Android projects - 2023 Edition
19mCOMPILING...? HOW TO REDUCE YOUR WAIT TIMES AND "GET BACK TO WORK"
27mFaster builds on Android: from 2 minutes to 2 seconds
