Difference between revisions of "Gradle"
(Created page with "Category:Linux Category:Development =Manual install= Download last version: http://gradle.org/downloads * Take the '''complete distribution''' package. ==Extracti...") |
|||
Line 59: | Line 59: | ||
gradle -version | gradle -version | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | =Usage= | ||
+ | |||
+ | If you are, like me, coming from the Maven world then the concepts of Gradle are easy to grasp. |
Revision as of 13:15, 8 April 2015
Manual install
Download last version: http://gradle.org/downloads
- Take the complete distribution package.
Extraction
Put it an easy to access folder: ~/dev/gradle
or /opt/gradle
unzip gradle-2.3-all.zip
mv gradle-2.3/ /opt/
ln -s /opt/gradle-2.3/ /opt/gradle
♦ Adjust the version number
Environment variable
You need to add an environment variable:
# Debian
vim /etc/profile
# Ubuntu
vim /etc/environment
Add:
GRADLE_HOME="/opt/gradle"
PATH="/usr/local/sbin: ... :$GRADLE_HOME/bin"
Apply changes:
# Debian
source /etc/profile
# Ubuntu
source /etc/environment
Check configuration
If everything is OK the following command should work:
gradle -version
Usage
If you are, like me, coming from the Maven world then the concepts of Gradle are easy to grasp.