gradlew: Using gradlew behind a http proxy server

Hi,

using gradlew behind a proxy server:

Create config directory if not exists

1
michael@debdev ~# mkdir ~/.gradle


Create a file or add the following lines to an existing file ~/.gradle/gradle.properties

1
2
3
4
systemProp.https.proxyHost=10.10.254.1
systemProp.https.proxyPort=8080
systemProp.http.proxyHost=10.10.254.1
systemProp.http.proxyPort=8080

That’s it

Michael

Leave a Reply