Homebrewを使えば以下のコマンド1行でインストールできます。「Homebrewって何?」という方は、Homebrewのインストール方法や使い方の記事をご覧ください。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install gradle |
インストール後、以下コマンドでGradleのバージョンが確認できればOKです。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gradle --version | |
------------------------------------------------------------ | |
Gradle 5.1.1 | |
------------------------------------------------------------ | |
Build time: 2019-01-10 23:05:02 UTC | |
Revision: 3c9abb645fb83932c44e8610642393ad62116807 | |
Kotlin DSL: 1.1.1 | |
Kotlin: 1.3.11 | |
Groovy: 2.5.4 | |
Ant: Apache Ant(TM) version 1.9.13 compiled on July 10 2018 | |
JVM: 1.8.0_192 (Oracle Corporation 25.192-b12) | |
OS: Mac OS X 10.14.2 x86_64 |