Goodness, Gracious, Great Builds of Gradle
summary
Gradle at Reddit is replaced by a layered internal plugin set that enforces consistent build files, migrates dependencies, and speeds CI: a settings plugin does early dependency overrides and KSP/Anvil migrations, a configuration bypass tricks Gradle to skip project configuration for bootstrap tasks (reducing a ~2 minute config path to under a second), convention plugins expose a feature registry that owns Dagger/Anvil, Compose, Apollo, etc., and an affected-module sharding service limits CI/test work; result: configuration cache works, thousands of lines removed, faster, reproducible builds.
AI-written summary · about
chapters (13)
- 0:00Gradle at Reddit
- 2:33Gradle build phases and caching
- 3:37Why Gradle over alternatives
- 6:04Android Gradle Plugin role
- 7:06Reddit's build struggles
- 10:38Square's build goals
- 12:05Modern Reddit build scripts
- 15:17Reddit Gradle Plugin settings
- 17:03Bootstrap task bypass
- 18:50Project-level Gradle plugins
- 21:20Affected module service
- 22:45Feature registry and projects
- 24:33Reddit's Gradle benefits
related talks
32mGradle Convention Plugins
35mThe Benevolent Gradle Overlord: Keeping Order
28mEffective Gradle Scripts for Android Projects
42mWriting your own Gradle Plugin: A Deep Dive
56mDeep Dive into the Android Gradle Plugin
44mA Healthy Dose of Gradle
21mWhat's new in Android Build
39mAndroid Gradle Plugin internals
