Step 2: Extract the contents into a folder e.g. "C:\gradle-2.3".
Step 3: Open up the environment variables window. To do this:
- Right click on your computer and click "Manage"
- Click "Advanced System Settings"
- Click "Environment Variables"
Step 4: Add new System Variable (or user variable if you only want it on your user account).
Step 5: Click New and enter Environment Variable as "GRADLE_HOME" and value as the bin directory of your Gradle installation path from step 2 e.g. "C:\gradle-2.3\bin". Press OK.
Step 6: Find the "Path" variable and press Edit. Scroll to the end of the text and add the text "%GRADLE_HOME%". Remember to separate from previous entry with a semi-colon ";".
Step 6: Press OK to exit the environment variable window and advanced system settings.
Step 7: Open up a command prompt window. (press windows button and enter "cmd" as a shortcut).
Step 8: Check Gradle version by entering text "gradle -v". If installation has been successful you should see something like the following:
C:\Users\username>gradle -v
------------------------------------------------------------
Gradle 2.3
------------------------------------------------------------
Build time: 2015-02-16 05:09:33 UTC
Build number: none
Revision: 586be72bf6e3df1ee7676d1f2a3afd9157341274
Groovy: 2.3.9
Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM: 1.7.0_25 (Oracle Corporation 23.25-b01)
OS: Windows 8 6.2 amd64
You should now be set up for using Gradle.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.