gradle proxy配置

#http proxy setup
systemProp.http.proxyHost=web-proxy.tencent.com
systemProp.http.proxyPort=8080
#systemProp.http.proxyUser=userid
#systemProp.http.proxyPassword=password
systemProp.http.nonProxyHosts=*.oa.com|localhost

#https proxy setup
systemProp.https.proxyHost=web-proxy.tencent.com
systemProp.https.proxyPort=8080
#systemProp.https.proxyUser=userid
#systemProp.https.proxyPassword=password
systemProp.https.nonProxyHosts=*.oa.com|localhost

参见: https://medium.com/@petehouston/execute-gradle-behind-a-corporate-proxy-network-509260961813

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

发表于

我来说两句

0 条评论
登录 后参与评论

扫码关注云+社区

领取腾讯云代金券