Improve Java build performance with Gradle 5
summary
Shows concrete fixes that cut Java build time: uses Gradle Profiler and build scans to measure configuration vs execution, finds expensive per-project configuration that costs seconds per subproject, and applies compile avoidance plus a distributed build cache to get orders-of-magnitude speedups on multi-project builds. Demonstrates profiling that locates memory leaks and slow plugins, removes unnecessary input properties, and verifies reductions with repeatable benchmarks (local and remote cache), including examples of projects dropping configuration time from many seconds to near instant.
AI-written summary · about
chapters (7)
- 0:00Introduction to Gradle 5
- 12:24Benchmarking build performance
- 22:29Configuration time optimization
- 36:28Profiling and execution time
- 43:02Binary interface changes
- 53:04Caching and enterprise tools
- 1:00:39Q&A and closing remarks
related talks
33mIMPROVING ANDROID BUILD PERFORMANCE
28mMaking the most of your Gradle Builds
31mImproving Android Build performance
43mSqueezing the last drop of performance out of your Gradle builds (en)
40mNail your Gradle build time
30mImproving Android Build performance
48mWhat's new in Gradle 5?
36mImproving Gradle Builds
