© Adam L. Davis 2019
Adam L. DavisLearning Groovy 3https://doi.org/10.1007/978-1-4842-5058-7_12

12. Gradle

Adam L. Davis1 
(1)
New York, NY, USA
 
Gradle is a build tool for the JVM with a Groovy-based DSL for building projects. The Gradle web site describes it as follows:
  • Gradle combines the power and flexibility of Ant with the dependency management and conventions of Maven into a more effective way to build. Powered by a Groovy DSL and packed with innovation, Gradle provides a declarative way to describe all kinds of builds through sensible defaults.

  • —gradle.org (2015)1

Projects and Tasks

Each Gradle build is composed of one or more projects and each project is composed of tasks. The core of the Gradle build is the build.gradle file (which is called ...

Get Learning Groovy 3: Java-Based Dynamic Scripting now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.