How-to Install and Getting-Started with Gradle Automation Tool on Lubuntu 14.04 Trusty LTS Easy Guide

May 11th, 2014 by thelinuxevangelist

Gradle Quick-Start for Lubuntu 14.04 LTS Linux




The Tutorial Shows You Step-by-Step How-to Install and Getting-Started with Gradle Enterprise Automation Tools on Lubuntu 14.04 Trusty Tahr LTS i386/amd64 Linux Desktop.

Gradle Evolved Automation Features:

  • Strong yet flexible conventions
  • Enterprise level control capabilities
  • Manageable and understandable builds

To the Gradle Installation Tutorial on Lubuntu Linux Bottom You will find a Link to Hello-World Build Script Guide.

Gradle Quick-Start for Lubuntu 14.04 LTS Linux - Featured
  1. Download Latest Gradle Complete Release:

    Get Gradle All .zip
  2. Open a Command Line Terminal Window
    (Press “Enter” to Execute Commands)

    Ctrl+Alt+T

    Gradle Quick-Start for Lubuntu 14.04 LTS Linux - Open Terminal
  3. How-to Install Recommended Oracle Java JDK on Lubuntu:

    Install Oracle JDK 6/7/8 for Lubuntu
  4. Check if Java Development Kit is Installed

    java -version
  5. Unzip Gradle Archive into /tmp

    unzip -d /tmp/ $HOME/Downloads/gradle*.zip
    rm $HOME/Downloads/gradle*.zip
  6. Relocate Gradle Archive

    sudo su -c "mv /tmp/gradle* /opt/"
  7. Add Gradle Env Variables and Set Path

    echo "GRADLE_HOME=/opt/gradle-[X.Y]" >> $HOME/.bashrc

    Just Replace the Gradle Version to [X.Y] in above Command

    echo 'export PATH=$PATH:$GRADLE_HOME/bin' >> $HOME/.bashrc
    source $HOME/.bashrc
  8. Testing Gradle Installation

    gradle -v
  9. (Optional) Speed Up Gradle Builds with Gradle Daemon

    echo "org.gradle.daemon=true" >> $HOME/.gradle/gradle.properties

    Once you have globally enabled the Gradle Daemon in this way, all your builds will take advantage a Speed Boost.

  10. Getting-Started with Gradle Automation Build Script:

    Gradle Build Script Example
(Visited 2 times, 1 visits today)
Share on Tumblr

Tags: , , , , , , , , , , , , ,


Comments are disabled