Gradle源码安装

环境:

系统:CentOS 6.9

编译安装:

    下载源码包:

    地址:https://gradle.org/releases/

    安装:

# unzip gradle-2.4-all.zip

# mv gradle-2.4 /usr/local/gradle

    配置环境变量:

# vim /etc/profile

export PATH=/usr/local/gradle/bin:$PATH

# source /etc/profile

    查看版本:

#  gradle -v

------------------------------------------------------------

Gradle 2.4

------------------------------------------------------------

Build time:  2015-05-05 08:09:24 UTC

Build number: none

Revision:    5c9c3bc20ca1c281ac7972643f1e2d190f2c943c

Groovy:      2.3.10

Ant:          Apache Ant(TM) version 1.9.4 compiled on April 29 2014

JVM:          1.8.0_152 (Oracle Corporation 25.152-b16)

OS:          Linux 2.6.32-696.13.2.el6.x86_64 amd64

你可能感兴趣的:(Gradle源码安装)