Installing Gradle¶
Requires Java 8
Make sure you have already installed Java 8 before installing Gradle. See here if you need help installing Java 8.
Using a Package Manager¶
The easiest way to install Gradle is using a package manager described here. Or, you can install Gradle manually as described here.
Verifying Installation¶
At the console/terminal, run
$ gradle -v
and you should see something like:
------------------------------------------------------------
Gradle 4.8.1
------------------------------------------------------------
Build time: 2018-06-21 07:53:06 UTC
Revision: 0abdea078047b12df42e7750ccba34d69b516a22
Groovy: 2.4.12
Ant: Apache Ant(TM) version 1.9.11 compiled on March 23 2018
JVM: 1.8.0_161 (Oracle Corporation 25.161-b12)
OS: Mac OS X 10.12.6 x86_64