What's new in Gradle 5?
summary
Gradle 5.x (5.3.1 released, 5.4 imminent) focuses on real speed and reproducibility: roughly 20% less configuration time, incremental Java compilation using binary-compatibility checks, and local plus remote build cache that in examples drops a clean build from ~1m31s to ~5s. Kotlin DSL moves to Kotlin DSL 1.1 (Kotlin bumped to ~1.3.21). New features include nested composite builds for multi-repo monorepo workflows, Java Platform/BOM publishing, configuration-avoidance APIs (register vs create), worker API, task timeouts, CLI option annotations, and repository pinning for specific artifacts.
AI-written summary · about
chapters (12)
- 0:00Introduction and welcome
- 1:10Kotlin DSL improvements
- 7:35Build performance enhancements
- 14:22Composite builds and nested builds
- 18:17Build cache and remote caching
- 21:53Build scans for analysis
- 28:41Dependency management updates
- 31:09Gradle API changes
- 35:45Worker API for parallel tasks
- 39:41Project initialization templates
- 42:15Repository pinning for security
- 43:44Summary and Q&A
related talks
01h 01mGradle 3.0 and beyond
01h 01mImprove Java build performance with Gradle 5
02h 42mHeading to Gradle 9
48mGradle 3.0 and beyond for Android Development
01h 59mGradle: Give Your Build Some Love and It Will Return It!
02h 49mGradle: Give Your Build Some Love and It Will Love You Back!
49mGradle
02h 43mThe road to Gradle 9
