Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is gradle installed on my windows?

Tags:

gradle

I am doing this at the moment

C:\Users\kaunjovi                              
λ for %i in (gradle.bat) do @echo.   %~$PATH:i
C:\myInstalls\gradle-4.6\bin\gradle.bat    

Is there a better way?

like image 367
kaun jovi Avatar asked May 29 '18 13:05

kaun jovi


People also ask

Where is Gradle located in Windows?

The global properties file should be located in your home directory: On Windows: C:\Users\<you>\. gradle\gradle.

How do I know if Gradle is installed on Windows?

Verify Gradle Installation. Now open the command prompt. In the command prompt, enter Gradle -version. It will display the current version of Gradle just installed on the screen.

Where is Gradle located?

The top-level build.gradle file, located in the root project directory, defines dependencies that apply to all modules in your project.

How do I find Gradle home?

Open Preferences -> Build, Execution, Deployment -> Gradle . Select Use local gradle distribution and specify Gradle home .


1 Answers

Gradle installation directory:

/home/<username>/.gradle/ (Linux)
/Users/<username>/.gradle/ (Mac)
C:\Users\<username>\.gradle (Windows)

If you use SDKMAN, then it will be the following

$HOME/.sdkman/candidates/

UPDATE:

Then go to your command prompt. Run the following command to get the .gradle directory

dir /S /P .gradle
like image 113
SkyWalker Avatar answered Sep 21 '22 17:09

SkyWalker