Software Quality Engineering/ⓣⓔⓢⓣ
[개발 환경] 빌드 자동화 도구 Gradle
뚱땡이 우주인
2017. 11. 23. 22:21
Gradle Install on MacOS
$ sudo brew install gradle Password: Error: Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system. |
$ brew install gradle
==> Downloading https://services.gradle.org/distributions/gradle-4.3.1-all.zip
==> Downloading from https://downloads.gradle.org/distributions/gradle-4.3.1-all.zip
######################################################################## 100.0%
🍺 /usr/local/Cellar/gradle/4.3.1: 182 files, 77.6MB, built in 25 seconds
$ gradle --version
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/usr/local/Cellar/gradle/4.3.1/libexec/lib/groovy-all-2.4.12.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
------------------------------------------------------------
Gradle 4.3.1
------------------------------------------------------------
Build time: 2017-11-08 08:59:45 UTC
Revision: e4f4804807ef7c2829da51877861ff06e07e006d
Groovy: 2.4.12
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 9.0.1 (Oracle Corporation 9.0.1+11)
OS: Mac OS X 10.13.1 x86_64
$ brew update
$ brew -v
Homebrew 1.3.8
Homebrew 최신 버전에서는 정상적으로 설치됨