Gradlew behind a proxy

后端 未结 16 1557
一个人的身影
一个人的身影 2020-12-04 12:26

I have a sample from Gaelyk (called Bloogie) and it is using gradlew.

I am behind a proxy.

I\'ve read gradle docs and found this:

gradle.properties

16条回答
  •  囚心锁ツ
    2020-12-04 12:55

    Use this in prompt line:

    gradle -Dhttp.proxyHost=***  -Dhttp.proxyPort=*** -Dhttp.proxyUser=**** -Dhttp.proxyPassword=****
    

    Works here!

提交回复
热议问题