...

/

Getting Started

Getting Started

Learn how to install and use Gradle.

What is Gradle?

Gradle is a Groovy-based DSL for building projects. The Gradle website 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.

Getting started

To get started, we need to install Gradle 5.1+ and initialize a project with a Groovy build file.

First, install Gradle (the current version is 7.0).

Next, create a new directory named “gradle-example,” and change the directory into it.

 ...
Access this course and 1400+ top-rated courses and projects.