How to install Gradle on Windows?

  1. Download the binary : https://gradle.org/releases/
  2. Unzip the binary and place them where it best fit for you. Ex : D:\Soft\Gradle\
  3. In File Explorer right-click on the This PC (or Computer) icon, then click Properties -> Advanced System Settings -> Environment Variables.
  4. Under System Variables select Path, then click Edit. Add an entry for D:\Soft\Gradle\gradle-4.10.2\bin. Click OK to save.
  5. Restart your command windows (close all command windows and reopen one)
  6. Test your setup. Open a console (or a Windows command prompt) and run gradle -v