Install Gradle with ubuntu16.04

Introduction

I tend to forget the procedure to install Gradle on ubuntu, so I will write it. (Qiita's first post)

Things necessary

・ Ubuntu16.04 LTS -Java (Oracle JDK or Open JDK Ver.8 or higher)

Installation procedure

  1. Install zip and unzip ⇒ Required to install SDK Man

  2. Install SDK Man ⇒ Required for Gradle installation

  3. Install Gradle

Installation of zip and unzip

$ sudo apt install zip unzip

SDK Man installation

$ curl -s "https://get.sdkman.io" | bash

Initialize SDK Man

$ source "/home/(My username)/.sdkman/bin/sdkman-init.sh"

Confirm the installation of SDK Man

$ sdk version

SDKMAN 5.7.3+337

Gradle installation

$ sdk install gradle 5.6.2 (2019/9/24 Currently the latest version)

Gradle installation confirmation

$ gradle --version
------------------------------------------------------------
Gradle 5.6.2
------------------------------------------------------------

Build time:   2019-09-05 16:13:54 UTC
Revision:     ~~~~~~~~~~~~~~~abridgement~~~~~~~~~~~~~~~~~~

Kotlin:       1.3.41
Groovy:       2.5.4
Ant:          Apache Ant(TM) version 1.9.14 compiled on March 12 2019
JVM:          1.8.0_222 (Private Build 25.222-b10)
OS:           Linux 4.4.0-17763-Microsoft amd64

in conclusion

This completes the installation procedure. I think there are some parts that are difficult to understand in Qiita's first post, but I hope it helps someone. gradle is a program because you can easily use the library from the maven repository I feel that it is useful even though I am a beginner. I think gradle has more useful features hidden in it I will continue to study.

Recommended Posts

Install Gradle with ubuntu16.04
Install java with Ubuntu 16.04 based Docker
I can't install lombok with Gradle.
Install ruby on Ubuntu 20.04 with rbenv
Install java with Homebrew
Install gradle on mac
Use ProGuard with Gradle
Install Ruby 3.0.0 with asdf
Integration Test with Gradle
Install Java with Ansible
Install OpenJDK8 with RPM
Install pyqt5 on ubuntu
Install ROS Noetic ubuntu20.04
Install Ruby on Ubuntu 20.04
DataNucleus starting with Gradle
Install Autoware on Ubuntu 18.04.5
Install Homebrew on Ubuntu 20.04
Use WebJars with Gradle
Get started with Gradle
Use jlink with gradle
Install Composer with Docker
Install rbenv with apt on ubuntu and put ruby
How to install Gradle and Kotlin with SDKMAN (Mac)
Java multi-project creation with Gradle
Clogged with Express npm install
Gradle + Kotlin-Generate jar with DSL
Network install CentOS 8 with Kickstart.
Install OpenJDK7 (JAVA) on ubuntu 14.04
Install Cybozu Office 10 on Ubuntu 20.4
Install Docker on Ubuntu Server 20.04
AWS CLI install in Ubuntu 20.04
Install Oracle JDK 8 with Ansible
Install MAV Proxy on Ubuntu 18.04
Lombok not working with Gradle5
Update gitlab-runner with Ubuntu automatic update
Install Arudino IDE on Ubuntu 20
Develop Arduino with vscode @Ubuntu
Install Java on WSL Ubuntu 18.04
Install Ubuntu Desktop 20.10 on RaspberryPi4
Install Arduino IDE on Ubuntu 20.04
Remote debugging with Gradle test
Install raspi-config on Ubuntu 20.04 (LTS)
Install WordPress 5.5 on Ubuntu 20.04 LTS
Build Ubuntu 18.04.5 with dual boot
Install PlantUML on Intellij on Ubuntu
Install Ubuntu Server 20.04 on Btrfs
Note: Install PostgreSQL 9.5 on Ubuntu 18.04
Use log4j2 with YAML + Gradle
Hello World with SpringBoot / Gradle
[Virtualization] Install VMware and build Ubuntu (20.04)
Install Ruby on MSYS2 with pacman
Install Amazon Corretto JDK with SDKMAN!
Build a Java project with Gradle
Install AWS IoT Greengrass on Ubuntu
Install Java and Tomcat with Ansible
Gradle
Install JDK and JRE on Ubuntu 16.10
Install Java with zip on Windows
Install ngrok on ubuntu16.04 using Vagrant
I tried using JOOQ with Gradle
Output test coverage with clover + gradle