All of the following learning processes are based on the window 8 environment
1. Download Gradle
Mode one: http://gradle.org/use the homepage download link to download the latest version directly.
Mode two: http://gradle.org/gradle-download/Select a version below "PREVIOUS releases" (right) and select the full version "complete distribution" Or select the version that does not contain the source code and the document contains only the program "Binary only Distribution" download.
(Download the latest version of the full Zip package here: gradle-2.5-all.zip)
2. Installation
Unzip the downloaded zip file:gradle-2.5-all.zip Get the directory gradle-2.5, move the folder to the appropriate location, such as F:\gradle-2.5, which contains all the Gradle content, including:
-------------------------------------------Executing program (BIN, Lib) document (Docs) source code (SRC) example (samples)
To configure environment variables:
New variable name: gradle_home, variable value: F:\gradle-2.5
Appends a string to the end of an existing path variable ";%gradle_home%\bin;" (A string within quotation marks)
3. Testing
Open cmd, execute command: gradle-v, output
------------------------------------------------------------Gradle 2.5----------------------------------------- -------------------Build time:2015-07-08 07:38:37 utcbuild number:nonerevision:093765bccd3ee722ed5310583e5ed14068 8a8c2bgroovy:2.3.10ant:apache Ant (TM) version 1.9.3 compiled on December 2013jvm:1.7.0_71 (O Racle Corporation 24.71-b01) Os:windows 8 6.2 x86
At this point, Gradle installation is complete.
Learn Gradle-ch 1 installation