Installing Gradle
Perform the following steps to install Gradle:
- Go to the Gradle download page by entering the URL http://www.gradle.org/downloads in your browser.
- Click on the latest Gradle stable release download link; at the time of writing this, the stable release is
gradle-1.11-all.zip
. - Once the download is finished, go to the downloaded directory and extract the ZIP file into a convenient directory of your choice.
- Create an environment variable called
GRADLE_HOME
. Enter the extracted Gradle ZIP directory path as the value for theGRADLE_HOME
environment variable. - Finally, append the
GRADLE_HOME
variable toPATH
by simply appending the text;%GRADLE_HOME%\bin
to thePATH
variable.
Now that you have installed Gradle on your Windows-based computer, to verify whether the installation was completed correctly, go to the command prompt, type gradle -v
, and press Enter. The output shows the Gradle version and also the local environment configuration.