I tend to forget the procedure to install Gradle on ubuntu, so I will write it. (Qiita's first post)
・ Ubuntu16.04 LTS -Java (Oracle JDK or Open JDK Ver.8 or higher)
Install zip and unzip ⇒ Required to install SDK Man
Install SDK Man ⇒ Required for Gradle installation
Install Gradle
$ sudo apt install zip unzip
$ curl -s "https://get.sdkman.io" | bash
$ source "/home/(My username)/.sdkman/bin/sdkman-init.sh"
$ sdk version
SDKMAN 5.7.3+337
$ sdk install gradle 5.6.2 (2019/9/24 Currently the latest version)
$ 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
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