gradle.properties
ã®ãã¼ãã·ã¼ã
ãªããããã¼ã¢ã³ãããã©ã«ãã§ä½¿ãã¨ãã®gradle.properties
ã®ãã¼ãä½ã ã£ããå¿ãããã¨ãå¤ãã®ã§ãé¢åã ãã©ã¾ã¨ããã
ãã«ãé¢é£
# ãã¼ã¢ã³ä½¿ç¨æç¡ : true 使ã / false 使ããªã org.gradle.daemon=true # 使ãjre/jdkã®ãã¼ã¸ã§ã³ : ã§ããã°è¨å®ããªãã»ãããã«ããå®å®ãã(Windows/Linux/Macãªã©ã§ãã¹ãç°ãªããã) org.gradle.java.home=/path/to/jdk/home # ãã¼ã¢ã³ã§å©ç¨ããjvmå¼æ° : ã¡ã¢ãªãªã©ã®ç¨éã«ä½¿ããã¨ãå¤ãã¨æããã org.gradle.jvmargs=-Xmx512M # Configure on Demandã使ç¨æç¡ : 大ããªãã«ãããã¸ã§ã¯ãã§å©ç¨ããã¨æå¹(incubating) # å®ã¯Configuration on Demandãããããã£ã¦ãªã(´ã»Ïã»ï½) org.gradle.configureondemand=true # ãã©ã¬ã«ãã«ãã®ä½¿ç¨æç¡ : trueã«ããã¨ãã©ã¬ã«ãã«ããã(incubating) org.gradle.parallel=true # ã¯ã¼ã«ã¼ã®æå¤§æ° # ãããããããã£ã¦ãªã(´ã»Ïã»ï½)å¤åããã©ã¬ã«ãã«ããæå¹ã«ããæã®åæ並è¡å¦çæ°ã ã¨æããã© org.gradle.workers.max=3
ãããã·ã¼é¢é£
ãããã·ã¼ç°å¢ã«ãã人ã¯ããããè¨å®ãã
# ãããã·ã¼ã®ãã¹ã systemProp.http.proxyHost=www.somehost.org # ãããã·ã¼ã®ãã¼ã systemProp.http.proxyPort=8080 # ãããã·ã¼ã«èªè¨¼ãããå ´åã®ã¦ã¼ã¶ã¼å systemProp.http.proxyUser=userid # ãããã·ã¼ã«èªè¨¼ãããå ´åã®ãã¹ã¯ã¼ã systemProp.http.proxyPassword=password # ãããã·ã¼ã使ããªãã¦ããããã¹ã systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost
ã¾ããhttps
ã«ã¤ãã¦ãåãé
ç®ã®è¨å®å¤ããããä¸è¨ã®http
ãhttps
ã«å¤æ´ããã°è¯ã
å¤ãWindowsã®ãããã·ã¼ãµã¼ãã¼ã ã¨NTLMèªè¨¼ãå¿ è¦ã«ãªããã¨ããããããã®å ´åãã¦ã¼ã¶ã¼ã以ä¸ã®ããã«å¤æ´ããã
systemProp.http.proxyUser=domain/username
ã¾ããèªè¨¼ãã¡ã¤ã³åã«ã¤ãã¦ã¯http.auth.ntlm.domain
ãè¨å®ããã
ãµã³ãã«
以ä¸ãæ®éã«ä½¿ããããªgradle.properties
ã®ãµã³ãã«ãæ²è¼ããã®ã§ãé©å®ä¿®æ£ãã¦ã¤ãã£ã¦ãã ãã
org.gradle.daemon=true org.gradle.jvmargs=-Xmx1G -Xms1G systemProp.http.proxyHost=our-proxy-sv systemProp.http.proxyPort=8000 systemProp.http.proxyUser=userid systemProp.http.proxyPassword=password