우분투 Gradle 최신버전 설치

Jmnote bot (토론 | 기여)님의 2020년 11월 2일 (월) 02:49 판 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
우분투 Gradle 최신버전 설치

1 저장소 추가

root@zetawiki:~# add-apt-repository ppa:cwchien/gradle
 Gradle is a Groovy based build system.

Gradle is build automation evolved. Gradle can automate the building, testing, publishing, deployment and more of software packages or other types of projects such as generated static websites, generated documentation or indeed anything else.

Gradle combines the power and flexibility of Ant with the dependency management and conventions of Maven into a more effective way to build. Powered by a Groovy DSL and packed with innovation, Gradle provides a declarative way to describe all kinds of builds through sensible defaults. Gradle is quickly becoming the build system of choice for many open source projects, leading edge enterprises and legacy automation challenges.

More info: <http://gradle.org/>
 More info: https://launchpad.net/~cwchien/+archive/ubuntu/gradle
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpll3elr5l/secring.gpg' created
gpg: keyring `/tmp/tmpll3elr5l/pubring.gpg' created
gpg: requesting key 9D06AF36 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpll3elr5l/trustdb.gpg: trustdb created
gpg: key 9D06AF36: public key "Launchpad PPA for Cheng-Wei Chien" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

2 apt-get update

root@zetawiki:~# apt-get update
... (생략)
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Fetched 20.5 kB in 2s (7,733 B/s)           
Reading package lists... Done

3 설치

root@zetawiki:~# apt-get install gradle
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  gradle-2.12 gradle-ppa
The following NEW packages will be installed:
  gradle gradle-2.12 gradle-ppa
0 upgraded, 3 newly installed, 0 to remove and 36 not upgraded.
Need to get 46.9 MB of archives.
After this operation, 53.3 MB of additional disk space will be used.
Do you want to continue? [Y/n]
... (생략)
update-alternatives: using /usr/lib/gradle/2.12/bin/gradle to provide /usr/bin/gradle (gradle) in auto mode
Setting up gradle-ppa (2.12-0ubuntu1) ...
Setting up gradle (2.12-0ubuntu1) ...

4 확인

root@zetawiki:~# gradle -v

------------------------------------------------------------
Gradle 2.12
------------------------------------------------------------

Build time:   2016-03-14 08:32:03 UTC
Build number: none
Revision:     b29fbb64ad6b068cb3f05f7e40dc670472129bc0

Groovy:       2.4.4
Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM:          1.8.0_74 (Oracle Corporation 25.74-b02)
OS:           Linux 3.13.0-77-generic amd64

5 같이 보기

6 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}