-
Notifications
You must be signed in to change notification settings - Fork 744
Gradle
You do not need to install Gradle. Gradle Wrapper takes care of that.
./gradlew or gradlew.bat
This will take care of the gradle version required for the build, and it will download the needed gradle libraries from the internet.
Important environment variables of interest:
JAVA_HOME e.g. C:\dev\java\jdk7_u45
JAVA_OPTS e.g. -Xms512m -Xmx512m -XX:MaxPermSize=512m
Add this in your gradle.properties
org.gradle.jvmargs=-Xdebug -Xrunjdwp:transport=dt_socket,address=8005,server=y,suspend=n
Note: This is better than putting remote debugging JVM parameters into JAVA_OPTS.
If you do not want gradle to download the jars from the net, then you can copy the gradle jars from another machine which has MifosX setup. Usually it is in User's Home directory (.gradle folder). You can copy it into your home directory's .gradle folder, or put it in any folder, and set environment variable GRADLE_USER_HOME to point to that folder, and from then on gradle will refer to that folder to see if a jar is downloaded already or not.