Mastering Gradle

Learn Gradle and Groovy essentials to be able to smoothly and effectively use the Gradle build tool

Mastering Gradle background

Two-day on-site or classroom-based training

This course teaches practical application of the Gradle build tool.

You will learn Gradle fundamentals like the build lifecycle and dependency management, as well as how to use, develop and maintain Gradle build scripts. It is accompanied by a Groovy kickstarter to get you going in the scripting language Gradle is built on. The course focuses on practical exercises, relying on brief presentations followed by lab exercises or discussions.

To participate, you will need your laptop, preferably with Gradle installed. The course focuses on practical exercises, relying on brief presentations followed by lab exercises or discussions.

Content of the course:

Introduction to Gradle

  • Crash course in the Groovy scripting language
  • Installing and setting up Gradle
  • Looking at the various parts of a Gradle project
  • Gradle building blocks
  • Digging into Gradle fundamentals and creating build scripts
  • Basic task creation; creating, running and configuring basic tasks
  • Different phases of a Gradle build
  • Common pitfalls related to the build phases
  • Setting up of an incremental and continuous builds and why to use them
  • Gradle practicalities
  • Gradle build properties
  • Organizing and splitting up build scripts
  • Dynamic task generation
  • KISS with Groovy
  • Optimization and debugging
  • Parallelizing builds
  • Dependency management
  • Plugins

Crash course in Groovy


  • A brief introduction to Groovy and why we’re covering it
  • Resources
  • Where to find Groovy documentation, resources and help

Setting up Groovy

  • Installing and setting up Groovy
  • Writing and executing a Groovy script
  • Using the Groovy console

Groovy kickstart

  • Hello world
  • Defining variables
  • Defining and interacting with collections
  • Looping, logic branching
  • Expanding variables in strings
  • Functions, closures and classes
  • Interacting with files
  • Using regular expressions
  • Starting native processes
  • Multithreading and parallel execution

Course Facts

Watches icon


Two days

A Graduation Hat


Hands-on course with a lot of exercises and learning material

Two People Icon


Software developers, Architects, DevOps and Continuous Delivery Practitioners

Google Pin Icon


Copenhagen, Stockholm, Oslo, Gothenburg, Aarhus, Malmö, or on-site.

Want to book a training course?

Contact: Adam Henriques 2812 9094