Ubuntu18 Gradle Build Tools
Install
$ mkdir -p /app/gradle
$ unzip -d /app/gradle gradle-4.8.1-bin.zip
$ ls /app/gradle/gradle-4.8.1
LICENSE NOTICE bin getting-started.html init.d lib media
config only current user
vi ~/.bashrc
# put last line
export GRADLE_HOME = /app/gradle/gradle-4.8.1
export PATH=$PATH:${GRADLE_HOME}/bin
source ~/.bashrc
if you want config for all user, edit /etc/profile
check
gradle -version