$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install Gradle on Ubuntu 18.10 Cosmic Easy Guide

October 9, 2018 | By the+gnu+linux+evangelist.

Gradle Ubuntu 18.10 Installation - 2

  1. Download Latest Gradle Complete Release

    Gradle All .zip
  2. How to Install Recommended Oracle Java JDK on Ubuntu

    Install Oracle JDK 8+ for Ubuntu
  3. Check if Java Development Kit is Installed.

    java -version
  4. Unzip Gradle Archive into /tmp.

    unzip -d /tmp/ $HOME/Downloads/gradle*.zip
    rm $HOME/Downloads/gradle*.zip

    Or Double-Click on Archive to Use the Archive Manager GUI.

  5. And Relocate Gradle Archive.

    sudo mv /tmp/gradle* /opt/

    This for a System-Wide installation, for a local one simply put into your Home…
    If Got “User is Not in Sudoers file” then see: How to Enable sudo

  6. Follow to Setup Gradle Env Variables and 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

    Then to Load New SetUp:

    bash
  7. Finally, to Test Gradle Installation.

    gradle -v
  8. (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.

  9. Getting-Started with Gradle Automation Build Script

    Gradle Build Script Example

Contents