Skip to content

Instantly share code, notes, and snippets.

@somecuitears
Last active March 27, 2017 10:21
Show Gist options
  • Save somecuitears/b92f6a8514363b646bca36641ae7ce09 to your computer and use it in GitHub Desktop.
Save somecuitears/b92f6a8514363b646bca36641ae7ce09 to your computer and use it in GitHub Desktop.
Gradle Installation

Automatically Install Gradle

  1. Install Chocolatey

[Chocloaty Installation Guide] (https://gist.github.com/somecuitears/254957f11e458f9de2bf659301fc09c7) 2. On Powershell once chocolatey has been installed, paste following code

choco install gradle
  1. Type Y then press enter
  2. Gradle will begin to download and will be installed to C:\ProgramData\chocolatey\lib\gradle\tools\
  3. The Path Variable should be added automatically. Verify if gradle has been added to path variable by running following command
gradle -v
  1. If not, add path variable manually. Path Variable : GRADLE_HOME Path Value : C:\ProgramData\chocolatey\lib\gradle\tools\gradle-3.1

Manually Install Gradle

  1. Download the latest Gradle distribution
  1. Extract to desired location.
  2. Add Path Variable of gradle/
  • Type advance system setting on start
  • Click Environment Variables
  • Under System variables tab Click New
  • Enter GRADLE_HOME in Variable Name and Location of Extracted Gradle bin in Variable Value
  1. Press Ok > Apply > Ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment