Linux installation Gradle

Source: Internet
Author: User

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. Inhttp://services.gradle.org/distributions/page, download the latest version of the Gradle software package, which was written in version 2.6.  2. After downloading the gradle-2.6-all.zip or gradle-2.6-bin.zip file, unzip it in the/usr/local directory Cd/usr/localunzip gradle-2.6-all.zip. MV Gradle-2.6-all/usr/local/gradle 3. Then set the run environment Vi/etc/profile add the Gradle_home output path to the file, and the revision path setting is 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, $vi ~/in your own account's HOME directory. Bash_profile 4. After the exit is saved, 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.