Sunday, 21 January 2018

Installation of Gradle Build Tool on Windows 10

This blog post only focuses on installation of Gradle Build Tool on Windows 10. We will separately discuss about the features of Gradle in another blog  in detail.

Download Gradle Build Tool:

First you need to download the latest version of Gradle Build Tool from here. I prefer to complete download with docs and sources.

Verify JAVA On Your System:

Before anything else, you need to have Java Software Development Kit (JDK) installed on your system. In order to verify, execute java -version command in your cmd.

Press <window key + R> and type <cmd> then hit <enter key>

If you already have JDK on your system, you will see java version (JDK and JRE) detail as shown below.



Now extracting the downloaded zip file as  C:\gradle\bin 


Setting up Enviroment Variable for Gradle:

Right click on This PC >> select Properties >> Advance system settings >> Environment Variables.




Create New System Variable and set the Variable Name and Value like shown below.





In order to set the Path for Environment Variable click on Edit...




Select New and then set your gradle build path as C:\gradle\bin as following.



Verify Gradle Installation:

Now last step is verification of your Gradle Build Tool Installation. In order to verify it, excute gradle -v  in your cmd as shown below.



Congratulations you have done it.
Happy Learning with TZN LAB...

No comments:

Post a Comment