Build engineers that are ready to configure and organize custom build logic should start here.

To get started engineering Gradle builds:

  1. Read the Beyond the Basics chapters.

  2. Follow the Intermediate Tutorial for a hands-on approach.

1. Beyond the Gradle Basics

The beyond the basics section goes through some Gradle authoring basics so that you can quickly understand how to configure builds, create tasks, and organize logic.

Training level: Intermediate
Reading time: 35 minutes

This section covers:

Part 1. Anatomy of a Gradle Build
Part 2. Structuring Multi-Project Builds
Part 3. Gradle Build Lifecycle
Part 4. Writing Build Scripts
Part 5. Gradle Managed Types
Part 6. Declaring and Managing Dependencies
Part 7. Creating and Registering Tasks
Part 8. Working With Plugins

2. Intermediate Gradle Tutorial

The tutorial will take you from Gradle initialization all the way through registering tasks and the basics of plugins. No previous experience is necessary but a basic knowledge of Java and Kotlin is nice to have.

If you need to install Gradle before the tutorial, you can see how to do so in the installation section.

Training level: Intermediate
Training time: 65 minutes

The tutorial covers:

Part 1. Initializing the Project
Part 2. Understanding the Build Lifecycle
Part 3. Multi-Project Builds
Part 6. Writing the Settings File
Part 5. Writing Build Scripts
Part 6. Writing Tasks
Part 7. Writing Plugins