Gradle Build Cache Deep Dive
Description
The Gradle build cache significantly reduces build time by re-using outputs produced by other builds in your organization. In this training you will learn how to enable caching for custom tasks. We will also cover how to troubleshoot cache misses using hands-on exercises covering various scenarios.
Duration
2 hours
Audience
Gradle build tool users as well as Gradle Enterprise users interested in speeding up their custom tasks by utilizing the build cache.
Prerequisites
- Highly recommended to take Incremental Builds and Build Caching training
- Experience using Gradle build cache
- Install the latest version of Gradle Build Tool along with at least Java 8
- Refer to the Java compatibility matrix to ensure appropriate Java version
- A good editor
- Recommended: IntelliJ community edition
- Gradle Build Tool experience
- Knowledge of core concepts
- Authoring build files
- Kotlin DSL experience a plus
- Software development experience, preferably with Kotlin or Java
Objectives
- Learn how to enable Gradle Build Cache for custom tasks
- Troubleshooting build cache issues
- Hands-on exercises to reinforce learning
Course Outline
- Gradle Build Cache Recap
- Enabling for Custom Tasks
- Troubleshooting Cache Misses
- Next Steps