gradlew: Using gradlew behind a http proxy server

Hi,

using gradlew behind a proxy server:

Create config directory if not exists

michael@debdev ~# mkdir ~/.gradle


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

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