Building Kotlin Applications at Scale with Gradle
summary
Gradle demonstrates concrete tools to cut Kotlin build time: up-to-date checks drop a repeated spec project build from ~30s to ~0.5s, project-level parallelism moves a 29s build to ~20s, and the remote build cache cuts a clean Gradle build from 1m48s to ~30s (local cache to ~9s). Features shown include build scans for tracing, input/classpath normalization and relocatability for cacheability, the compiler daemon and incremental compilation, and the worker API for reliable fine-grained parallelism.
AI-written summary · about
chapters (30)
- 0:00Introduction
- 1:51Dimensions of scalability
- 2:39Optimizing incrementality
- 4:45Uptodate check
- 6:50Input normalization
- 9:08Custom tasks
- 10:31Incremental tasks
- 11:35Incremental compilation
- 12:48Clean builds
- 14:38Performance improvement
- 14:53Worker API
- 15:25Worker API with Parallel
- 16:46Uptodate Checking
- 17:40Build Cache
- 18:30Cache Types
- 23:03Cache Tasks
- 25:08Cache Support
- 26:22Average Improvement
- 26:34Gradle Enterprise
- 27:11Optimizing clean builds
- 27:27Maintaining built logic
- 28:54Statically typed Kotlin
- 40:44Moving forward
- 41:25Extension configuration
- 42:22Multiple repositories
- 42:35Composite builds
- 42:52External source dependencies
- 43:14Binary dependency resolution
- 43:50Fixing build failures
- 44:10Learn more
related talks
36mHow to make Kotlin compile 2x faster?
35mTaming the Kotlin Compiler
37mHow to make Kotlin compile 2x faster
40mBetter Android Development with Kotlin & Gradle
50mThe Kotlin DSL experience in Gradle
42mKotlin Adoption in the Giant Java Application
33mCAN KOTLIN SAVE ME FROM MY GROOVY BUILDSCRIPTS?
46mOpening Keynote
