- Open http://gradle.org/downloads and download zip file containing binaries

- Move content of zip to e.g. /Users/xxx/Installations/gradle (you can choose what ever directory you like...).

- Open console and add system variable:
vi ~/.profile
Copy paste the following text into the .profile file:
GRADLE_HOME=/Users/xxx/Installations/gradle;
export GRADLE_HOME
export PATH=$PATH:$GRADLE_HOME/bin
- Test it in console
gradle -version
You should see something like this:
------------------------------------------------------------
Gradle 1.0-rc-3
------------------------------------------------------------
Gradle build time: Sunday, April 29, 2012 11:51:52 PM UTC
Groovy: 1.8.6
Ant: Apache Ant(TM) version 1.8.2 compiled on December 20 2010
Ivy: 2.2.0
JVM: 1.6.0_31 (Apple Inc. 20.6-b01-415)
OS: Mac OS X 10.7.3 x86_64
Showing posts with label mac os. Show all posts
Showing posts with label mac os. Show all posts
Wednesday, May 2, 2012
How to install Gradle on Mac OS
Subscribe to:
Posts (Atom)