Gradle for Mac installation configuration

Source: Internet
Author: User

First of all, first download the latest version of Gradle, the URL is as follows:
http://www.gradle.org/get-started
Then put the downloaded zip package on the path you want to install and I'll install it on the
/usr/local/bin;
Then open the. bash_profile file on your computer and enter the following command:

gradle_home=/usr/local/bin/gradle-1.8;
Export Gradle_home
Export path= $PATH: $GRADLE _home/bin

Then enter the following command on the console:
SOURCE ~/.bash_profile

This installs successfully, and you can see if the installation was successful with the following command.
Gradle-version

If the prompt does not have a gradle command, it is possible that:
1. Gradle_home path may not be correct;
2. No source ~/.bash_profile executed

You are welcome to add me

:

15189838151

Or

fyy57752

Qq:

1103753355

Learn together, discuss technology

Gradle for Mac installation configuration

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.