• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

How install Gradle on Windows 10?

 
Ranch Hand
Posts: 97
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want compile https://github.com/mapsme/api-android/blob/master/sample-app-capitals/build.gradle and I must use Gradle.
In https://gradle.org/install/ I see: $ scoop install gradle
but how install scoop?
in http://scoop.sh/ I see: iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
but not iex, I can't install Powershell because can't install Windows6.1-KB2506143-x64.msu
 
Bartender
Posts: 1868
81
Android IntelliJ IDE MySQL Database Chrome Java
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay, here we go:
1) Download an gradle*all.zip of Gradle from https://services.gradle.org/distributions/
2) Extract the contents to C:\Gradle so that you have something like what is shown in the screenshot
3) Add C:\Gradle\bin to your path environment variable.
   See https://www.computerhope.com/issues/ch000549.htm on how to change Path variable
4) Optionally add/create a new environment variable named gradle_home and set it's value to C:\Gradle

Any time you change environment variable you have to close the current command line interface/command prompt and start a new one for the settings to take affect.

I'm pretty sure that there is no need for anything else to be done or any other software to be installed.

You can verify that you have it installed by opening the command prompt and typing in
gradle -version
If you have it installed correctly then you will get a response telling you the version of Gradle that you have installed.
gradle.png
[Thumbnail for gradle.png]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!