A Healthy Dose of Gradle
summary
Gradle is the Android build system and the talk claims a build can be both fast and tailored by using the wrapper, plugins and explicit inputs/outputs rather than hacks. It demonstrates custom tasks and plugins (a Greeter task and an uppercase file-copy task), how to annotate properties with @InputDirectory/@OutputDirectory and use incremental task inputs, and where to put code in buildSrc. For profiling it uses --profile, the Gradle Build Scan and the open-source Gradle Profiler (six warmups then many measured runs) and shows incremental builds stop unnecessary work.
AI-written summary · about
chapters (15)
- 0:00Gradle introduction
- 1:05Android build tools evolution
- 5:01Gradle build tooling solutions
- 6:28Gradle projects and tasks
- 8:14Gradle plugins and DSL
- 12:54Android plugin features
- 14:20Gradle build lifecycle
- 16:29Custom Gradle tasks in Groovy
- 23:05Reusable Gradle plugins
- 26:11Incremental build optimization
- 29:21BuildSrc organization
- 31:50Gradle plugins benefits
- 34:14Gradle build profiling
- 38:50Modern Gradle optimizations
- 42:42Key takeaways








