Installing Gradle
satya - 7/19/2018, 11:18:22 AM
What is gradle home environment variable?
What is gradle home environment variable?
satya - 7/19/2018, 11:18:52 AM
Gradle installation is documented here
satya - 7/19/2018, 11:20:56 AM
GRADLE_HOME
For running Gradle, firstly add the environment variable GRADLE_HOME. This should point to the unpacked files from the Gradle website. Next add GRADLE_HOME/bin to your PATH environment variable. Usually, this is sufficient to run Gradle.
satya - 7/19/2018, 11:37:02 AM
Buildship eclipse plugin admin privileges on windows
Buildship eclipse plugin admin privileges on windows
Search for: Buildship eclipse plugin admin privileges on windows
satya - 7/31/2018, 4:15:19 PM
I am downloading binary only 4.9 version : 70MB
I am downloading binary only 4.9 version : 70MB
satya - 7/31/2018, 4:32:24 PM
Process/Settings needed
//Unpack first
Put the zip file in c:\gradle
right-click and unpack to: c:\gradle\gradle-4.9
//Set variables
path=%path%;C:\Gradle\gradle-4.9\bin
gradle_home=C:\Gradle\gradle-4.9
satya - 7/31/2018, 4:38:52 PM
Make note
notice c:\gradle\gradle-4.9\gradle-4.9 when unpacked. Move the directory one up.
satya - 7/31/2018, 4:40:52 PM
You also need to set JAVA_HOME to at least Java 7
You also need to set JAVA_HOME to at least Java 7
satya - 7/31/2018, 4:41:44 PM
To access env variables on windows search for
System properties
or
Edit environment variables
Or
Envi
satya - 7/31/2018, 4:42:17 PM
So you need
Java_home=c:\jdk1.8
gradle_home=C:\Gradle\gradle-4.9
path=%path%;C:\Gradle\gradle-4.9\bin
satya - 8/1/2018, 7:46:43 AM
You can type, if it works
//provide version info
gradle -v
satya - 8/1/2018, 7:48:52 AM
You can also do this from any directory
//Tell me what tasks are available by default
gradle tasks
satya - 8/1/2018, 7:50:49 AM
One of the tasks is init
//This will prepare a directory for gradle build
//go to a directory
//execute
gradle init
//This will create a number of files
gradle.build
settings.gradle
satya - 8/1/2018, 7:51:07 AM
Documentation on settings.gradle
Documentation on settings.gradle
satya - 8/1/2018, 7:52:39 AM
For most simple projects this file just contains the root project name.
rootProject.name = 'FirstProject'
satya - 8/1/2018, 7:56:46 AM
Here is where to next: command line options