Introduction to Gradle Build Tool

Register now

Get hands-on training on all the Gradle fundamental features in less than one day.


Introduction to Gradle is aimed at developers and build masters who have no previous experience with Gradle. It is designed to give you a foundation in Gradle fundamentals. We assume you have some familiarity with the Java programming language and some experience with automated builds.

Our goal is to demonstrate the building blocks necessary for you to author your own build scripts. This class is hands-on, so you will spend a significant portion of the class with your hands on the keyboard, learning by doing, working through lab exercises. By the end of this class, you will know the basics of Gradle and have a feel for how Gradle tasks and build scripts work.

The exercises in Introduction to Gradle are based around building an example application using Java. The class will be delivered by a Gradle expert, which gives you an opportunity to ask questions to someone with the deepest Gradle knowledge available.


2 days, with each day consisting of a 4-hour training session with questions and breaks.


This class is designed for developers and build masters who want to learn about Gradle.


This class assumes some familiarity with the Java language (or a similar language) and automated builds. No prior experience with Gradle is required.


With this class, you will

  • Gain the basic understanding you need to get your Gradle build up and running.
  • Learn a few Gradle best practices.
  • Build a Java application.
  • Get to ask a Gradle expert questions!

We recommend that you continue to learn more through one of our advanced Gradle learning courses.

Course Outline


  • About Gradle
  • Gradle Documentation and Resources
  • Installation
  • Gradle Best Practices
  • Using the Gradle Wrapper
  • Lab: Using wrapper
  • Creating build scans
  • Lab: Creating a build scan

Gradle Building Blocks

  • Gradle Build Scripts
  • High-level overview of using plugins
  • Defining Tasks
  • Executing Tasks
  • Built-in Tasks
  • Build Lifecycle
  • Incremental builds and working with files
  • Working with Archives
  • Lab: Exercises with Gradle basics

Building Java Projects

  • Source layout conventions
  • Building a Java project with the java-library plugin
  • Built-in support for JUnit/JUnit5 tests
  • Importing into Eclipse/IntelliJ/IDE
  • Lab: Exercises with a Java project

Dependency Management Basics

  • Defining repositories
  • Defining dependencies
  • Transitive dependencies
  • Excluding troublesome dependencies
  • Forcing the use of particular versions
  • Dynamic/changing dependencies
  • Publishing artifacts
  • Lab: Exercises with dependencies and repositories

Organizing your Build

  • Defining a multi-project build
  • Project dependencies and partial builds
  • Configuration injection
  • Composite builds

Wrap Up

  • Latest Gradle Features
  • Built-in Plugins
  • Popular Community Plugins
  • Where to get more help