Linux installation Gradle

Source: Internet
Author: User

Linux installation Gradle Gradle is based on the Groovy language and is oriented toward Java applications. Automated building tools based on DSL (domain-specific language) syntax. On GitHub, there's a lot of gradle projects, some Gradel with Maven, and you can see that Gradle has a gradual alternative to Maven's posture.
Here's a description of how to install the configuration Gradle environment in a Linux (CentOS) server environment. 1. On the http://www.gradle.org/downloads page, download the latest version of the Gradle software package, which is the 2.6 version when you write this document.  2. After downloading the gradle-2.6-all.zip or gradle-2.6-bin.zip file, unzip it in the/usr/local directory $cd/data/$sudo unzip gradle-2.6-all.zip. $MV Gradle-2.6-all/usr/local/gradle 3. Then set the run environment $sudo vi/etc/profile add gradle_home Output path to the file, and the revision path is set as follows export Gradle_ Home=/usr/local/gradleexport path= $GRADLE _home/bin: $PATH If you don't want all users to use this configuration, you can configure the GRADLE environment for your account separately, in the HOME directory of your account VI ~/.bash_profile 4. After saving the exit, in order for the modification to take effect immediately, execute $source/etc/profile 5. View Gradle's version information $ gradle-version------------------------ ------------------------------------Gradle 2.6

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

Linux installation Gradle

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.