{"id":441,"date":"2023-02-25T12:37:24","date_gmt":"2023-02-25T04:37:24","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=441"},"modified":"2023-04-29T21:03:54","modified_gmt":"2023-04-29T13:03:54","slug":"gradle-config-http-proxy","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/02\/25\/gradle-config-http-proxy\/","title":{"rendered":"Gradle\u914d\u7f6eHttp\u4ee3\u7406"},"content":{"rendered":"<p>\u5982\u679c\u9700\u8981\u901a\u8fc7\u4ee3\u7406\u4e0b\u8f7d\u4f9d\u8d56\u53ca\u5305\u88c5\u5668\uff0c\u8bf7\u5728<code>gradle.properties<\/code>\u6587\u4ef6\u548c<code>gradle\/wrapper\/gradle-wrapper.properties<\/code>\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9<\/p>\n<p>\u5982\u679c\u9700\u8981\u5168\u5c40\u8bbe\u7f6e\u8fd9\u4e9b\u5c5e\u6027\uff0c\u8bf7\u5c06\u5176\u6dfb\u52a0\u5230<code>USER_HOME\/.gradle\/gradle.properties<\/code>\u6587\u4ef6\u4e2d<\/p>\n<p><!-- more --><\/p>\n<pre><code>systemProp.proxySet=\u201ctrue\u201d\nsystemProp.http.keepAlive=\u201ctrue\u201d\nsystemProp.http.proxyHost=host\nsystemProp.http.proxyPort=port\nsystemProp.http.proxyUser=username\nsystemProp.http.proxyPassword=password\nsystemProp.http.nonProxyHosts=local.net|some.host.com\n\nsystemProp.https.keepAlive=\u201ctrue\u201d\nsystemProp.https.proxyHost=host\nsystemProp.https.proxyPort=port\nsystemProp.https.proxyUser=username\nsystemProp.https.proxyPassword=password\nsystemProp.https.nonProxyHosts=local.net|some.host.com<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u9700\u8981\u901a\u8fc7\u4ee3\u7406\u4e0b\u8f7d\u4f9d\u8d56\u53ca\u5305\u88c5\u5668\uff0c\u8bf7\u5728gradle.properties\u6587\u4ef6\u548cgradle\/wrapper\/g [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[97],"tags":[64,142],"class_list":["post-441","post","type-post","status-publish","format-standard","hentry","category-tools-skills","tag-gradle","tag-142"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=441"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/441\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}