0Pricing
Java Academy · Lesson

Gradle Basics

build.gradle and tasks.

Gradle Basics

Gradle is a flexible build tool that uses a programmable build script instead of static XML. Builds are modeled as a graph of tasks, and the script is written in Groovy or Kotlin DSL. This lesson covers the essentials.

The Build Script

Configuration lives in build.gradle (Groovy) or build.gradle.kts (Kotlin). It is real code, so you can use logic, variables, and functions — far more flexible than Maven's XML.

All lessons in this course

  1. Maven Project Structure
  2. Maven Plugins and Goals
  3. Gradle Basics
  4. Choosing a Build Tool
← Back to Java Academy