목차

Gradle 빌드 환경 설정

buildEnvironment

gradlew buildEnvironment

프라퍼티들

시스템 프라퍼티

분리된 build.gradle 에서 상호간 함수 지정

apply from: 'child.gradle'
 
childFunction("args...")
def childFunction(arg1, arg2) {
  // do somethings..
}
 
ext {
  // 함수 등록
  childFunction = this.&childFunction
}
------------
// 혹은 ext 에 직접 등록
ext.childFunction = { args ->
   // do somethings
}

Http Proxy

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