Gradle configure proxy

Gradle default Direct Connect network,Even Mac set the global proxy is the same。Even if you set up a proxy to Android Studio,It will still be directly connected fine, clear that you can not connect to the Web site in China for a lifetime ......

Gradle let go Agent,You need to give it a separate configuration,In each project gradle-wrapper.properties Insert statement follows,Remember https do not save!

Then restart the deployment,Gradle will go honestly agents deployed。

Original article written by Gerber drop-off:R0uter's Blog » Gradle configure proxy

Reproduced Please keep the source and description link:https://www.logcg.com/archives/2762.html

About the Author

R0uter

The non-declaration,I have written articles are original,Reproduced, please indicate the link on this page and my name。

Leave a Reply

Your email address will not be published. Required fields are marked *