歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> CentOS6.5安裝Gradle編譯環境

CentOS6.5安裝Gradle編譯環境

日期:2017/2/28 13:44:27   编辑:Linux教程

在CentOS6.5中安裝Gradle編譯環境。

一、下載gradle最新版本

https://downloads.gradle.org/distributions/gradle-3.2.1-all.zip

二、放於文件目錄/usr/local/gradle 並解壓

[root@localhost gradle]# unzip gradle-3.2.1-all.zip

三、配置運行環境變量

[root@localhost gradle]# gedit /etc/profile

添加

export GRADLE_HOME=/usr/local/gradle/gradle-3.2.1

path變量後面添加

${GRADLE_HOME}/bin:

四、按照上述圖配置完畢之後 執行生效命令

[root@localhost gradle]# source /etc/profile

五、查看gradle版本

OK 成功!!

Gradle創建項目目錄結構 http://www.linuxidc.com/Linux/2012-07/64177.htm

Gradle 打包 Groovy 腳本成 jar與上傳到maven repository http://www.linuxidc.com/Linux/2012-07/64178.htm

Gradle 構建 Android 應用常見問題解決指南 http://www.linuxidc.com/Linux/2013-10/90807.htm

Gradle - 簡單測試驅動Web程序 http://www.linuxidc.com/Linux/2013-11/92611.htm

Gradle - 使用介紹 http://www.linuxidc.com/Linux/2013-11/92611.htm

使用Gradle給Android打包的那些事 http://www.linuxidc.com/Linux/2015-12/126430.htm

Gradle安裝使用筆記 http://www.linuxidc.com/Linux/2016-12/138345.htm

Gradle 的詳細介紹:請點這裡
Gradle 的下載地址:請點這裡

Copyright © Linux教程網 All Rights Reserved