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.