How to install Gradle on macOS

1. Open https://gradle.org/gradle-download/ and download zip file containing binaries
2. Extract content from zip files:

3. Open console and add system variable:
vi ~/.profile
Copy paste the following text into the .profile file:

GRADLE_HOME=/Users/xxx/tools/gradle-3.1;
export GRADLE_HOME
export PATH=$PATH:$GRADLE_HOME/bin
or edit ~/.bashrc
vi ~/.bashrc
Copy paste the following text into the .bashrc file:
export GRADLE_HOME=/Users/xxx/tools/gradle-3.1;
source ~/.bashrc
4. Test it in console :  
gradle -version

------------------------------------------------------------
Gradle 3.1
------------------------------------------------------------

Build time:   2016-09-19 10:53:53 UTC
Revision:     13f38ba699afd86d7cdc4ed8fd7dd3960c0b1f97

Groovy:       2.4.7
Ant:          Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM:          1.8.0_51 (Oracle Corporation 25.51-b03)
OS:           Mac OS X 10.12 x86_64

Comments

  1. How To Install Gradle On Macos >>>>> Download Now

    >>>>> Download Full

    How To Install Gradle On Macos >>>>> Download LINK

    >>>>> Download Now

    How To Install Gradle On Macos >>>>> Download Full

    >>>>> Download LINK Gk

    ReplyDelete

Post a Comment

Popular posts from this blog

Tuxera NTFS for macOS Sierra

VMware Fusion 8 + License Key for MacOSX

CleanMyMac 3.9 cracked for Mac

How to open the *.war, *.jar files with Midnight Commander (mc)

CleanMyMac 3.9.3 2018 cracked for Mac

Tuxera NTFS for Mac 2015

How to Disable System Integrity Protection (SIP) for macOS Sierra