Place a file named gradle.properties in where executing the gradle or the gradlew.
Adding below in file gradle.properties.
1 2 3 4 |
systemProp.http.proxyHost=192.168.1.1 systemProp.http.proxyPort=8080 systemProp.https.proxyHost=192.168.1.1 systemProp.https.proxyPort=8080 |