- 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
Wednesday, May 2, 2012
How to install Gradle on Mac OS
Subscribe to:
Post Comments (Atom)
This comment has been removed by a blog administrator.
ReplyDeleteOr you can use brew install gradle .. http://brew.sh/
ReplyDeleteCool!! its working
DeleteThanks. It works
ReplyDeleteThis comment has been removed by the author.
ReplyDeletevery nice article thanks for team
ReplyDeleteشركة مكافحة حشرات بالدمام
شركة مكافحة حشرات بالطائف
شركة مكافحة حشرات بالرياض
good work
ReplyDeleteشركة مكافحة حشرات بخميس مشيط
شركة مكافحة حشرات ببيشة
شركة مكافحة حشرات بحائل