{"id":1355,"date":"2023-03-19T10:06:55","date_gmt":"2023-03-19T02:06:55","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1355"},"modified":"2023-04-29T09:02:01","modified_gmt":"2023-04-29T01:02:01","slug":"install-gradle-under-centos","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/19\/install-gradle-under-centos\/","title":{"rendered":"CentOS\u4e0b\u5b89\u88c5Gradle"},"content":{"rendered":"<p>Gradle\u662f\u4e00\u4e2a\u57fa\u4e8eApache Ant\u548cApache Maven\u6982\u5ff5\u7684\u9879\u76ee\u81ea\u52a8\u5316\u6784\u5efa\u5de5\u5177\u3002\u5b83\u4f7f\u7528\u4e00\u79cd\u57fa\u4e8eGroovy\u7684\u7279\u5b9a\u9886\u57df\u8bed\u8a00(DSL)\u6765\u58f0\u660e\u9879\u76ee\u8bbe\u7f6e\uff0c\u629b\u5f03\u4e86\u57fa\u4e8eXML\u7684\u5404\u79cd\u7e41\u7410\u914d\u7f6e\u3002<\/p>\n<p><!-- more --><\/p>\n<p>\u9762\u5411Java\u5e94\u7528\u4e3a\u4e3b\u3002\u5f53\u524d\u5176\u652f\u6301\u7684\u8bed\u8a00\u9650\u4e8eJava\u3001Groovy\u3001Kotlin\u548cScala\uff0c\u8ba1\u5212\u672a\u6765\u5c06\u652f\u6301\u66f4\u591a\u7684\u8bed\u8a00\u3002<\/p>\n<p>\u5b98\u65b9\u4e0b\u8f7d\uff1a<a target=\"_blank\" rel=\"noopener\" href=\"http:\/\/services.gradle.org\/distributions\/\">http:\/\/services.gradle.org\/distributions\/<\/a><\/p>\n<pre><code class=\"language-shell\"># wget http:\/\/services.gradle.org\/distributions\/gradle-4.6-all.zip\n# unzip -q -d \/usr\/local\/ gradle-4.6-all.zip\n# ln -s \/usr\/local\/gradle-4.6\/bin\/gradle \/usr\/bin\/\n# gradle -version\n\n------------------------------------------------------------\nGradle 4.6\n------------------------------------------------------------\n\nBuild time:   2018-02-28 13:36:36 UTC\nRevision:     8fa6ce7945b640e6168488e4417f9bb96e4ab46c\n\nGroovy:       2.4.12\nAnt:          Apache Ant(TM) version 1.9.9 compiled on February 2 2017\nJVM:          1.8.0_152 (Oracle Corporation 25.152-b16)\nOS:           Linux 3.10.0-229.20.1.el7.x86_64 amd64<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Gradle\u662f\u4e00\u4e2a\u57fa\u4e8eApache Ant\u548cApache Maven\u6982\u5ff5\u7684\u9879\u76ee\u81ea\u52a8\u5316\u6784\u5efa\u5de5\u5177\u3002\u5b83\u4f7f\u7528\u4e00\u79cd\u57fa\u4e8eG [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[333],"tags":[64],"class_list":["post-1355","post","type-post","status-publish","format-standard","hentry","category-install-deploy","tag-gradle"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1355","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=1355"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1355\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}