This time, we are going to build our project with Gradle. The first step is to download and install Gradle from http://www.gradle.org/downloads.
Gradle only requires a Java JDK (version 7 or higher).
macOS users can install Gradle with the brew command, as follows:
$ brew update && brew install gradle
The output is something like the following:
==> Downloading https://services.gradle.org/distributions/gradle-4.10.2-all.zip
==> Downloading from https://downloads.gradle.org/distributions/gradle-4.10.2-al
######################################################################## 100.0%
/usr/local/Cellar/gradle/4.10.2: 203 files, 83.7MB, built in 59 seconds
Linux users can install Gradle with the apt-get command, as follows:
$ apt-get install gradle
Unix users can install with sdkman, a tool for managing parallel versions of most Unix-based systems...