The gradle properties file should be saved with the name gradle.properties
Below are some of the properties of gradle
org.gradle.caching=false org.gradle.caching.debug=false org.gradle.configureondemand=false org.gradle.console=auto org.gradle.daemon=true org.gradle.daemon.idletimeout=10800000 org.gradle.debug=false org.gradle.java.home=C:/Program Files/Java/jdk1.8.0_191 org.gradle.jvmargs= org.gradle.logging.level=lifecycle org.gradle.parallel= org.gradle.warning.mode=all org.gradle.priority=normal #proxy settings #systemProp.http.proxyHost=www.somehost.org #systemProp.http.proxyPort=8080 #systemProp.http.proxyUser=userid #systemProp.http.proxyPassword=password #systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost #systemProp.https.proxyHost=www.somehost.org #systemProp.https.proxyPort=8080 #systemProp.https.proxyUser=userid #systemProp.https.proxyPassword=password #systemProp.https.nonProxyHosts=*.nonproxyrepos.com|localhost
The gradle properties file can be placed at 2 different location i.e GRADLE_USER_HOME directory and APPLICATION ROOT directory, but if the file is placed on both the location then GRADLE_USER_HOME directory takes precedence.
The same above mentioned properties can also be mentioned via command line( i.e system properties, e.g. when -Dgradle.user.home
is set on the command line. )