"우분투 Gradle 최신버전 설치"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(같은 사용자의 중간 판 하나는 보이지 않습니다)
2번째 줄: 2번째 줄:


==저장소 추가==
==저장소 추가==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# add-apt-repository ppa:cwchien/gradle
root@zetawiki:~# add-apt-repository ppa:cwchien/gradle
  Gradle is a Groovy based build system.
  Gradle is a Groovy based build system.
13번째 줄: 13번째 줄:
  More info: https://launchpad.net/~cwchien/+archive/ubuntu/gradle
  More info: https://launchpad.net/~cwchien/+archive/ubuntu/gradle
Press [ENTER] to continue or ctrl-c to cancel adding it
Press [ENTER] to continue or ctrl-c to cancel adding it
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
gpg: keyring `/tmp/tmpll3elr5l/secring.gpg' created
gpg: keyring `/tmp/tmpll3elr5l/secring.gpg' created
gpg: keyring `/tmp/tmpll3elr5l/pubring.gpg' created
gpg: keyring `/tmp/tmpll3elr5l/pubring.gpg' created
23번째 줄: 23번째 줄:
gpg:              imported: 1  (RSA: 1)
gpg:              imported: 1  (RSA: 1)
OK
OK
</source>
</syntaxhighlight>


==apt-get update==
==apt-get update==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# apt-get update
root@zetawiki:~# apt-get update
... (생략)
... (생략)
33번째 줄: 33번째 줄:
Fetched 20.5 kB in 2s (7,733 B/s)           
Fetched 20.5 kB in 2s (7,733 B/s)           
Reading package lists... Done
Reading package lists... Done
</source>
</syntaxhighlight>


==설치==
==설치==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# apt-get install gradle
root@zetawiki:~# apt-get install gradle
Reading package lists... Done
Reading package lists... Done
49번째 줄: 49번째 줄:
After this operation, 53.3 MB of additional disk space will be used.
After this operation, 53.3 MB of additional disk space will be used.
Do you want to continue? [Y/n]  
Do you want to continue? [Y/n]  
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
... (생략)
... (생략)
update-alternatives: using /usr/lib/gradle/2.12/bin/gradle to provide /usr/bin/gradle (gradle) in auto mode
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-ppa (2.12-0ubuntu1) ...
Setting up gradle (2.12-0ubuntu1) ...
Setting up gradle (2.12-0ubuntu1) ...
</source>
</syntaxhighlight>


==확인==
==확인==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# gradle -v
root@zetawiki:~# gradle -v


73번째 줄: 73번째 줄:
JVM:          1.8.0_74 (Oracle Corporation 25.74-b02)
JVM:          1.8.0_74 (Oracle Corporation 25.74-b02)
OS:          Linux 3.13.0-77-generic amd64
OS:          Linux 3.13.0-77-generic amd64
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
*[[우분투 Gradle 설치]]
*[[우분투 Gradle 설치]]


==참고 자료==
==참고==
* http://wtanaka.com/node/8079
* http://wtanaka.com/node/8079


[[분류: Gradle]]
[[분류: Gradle]]
[[분류: add-apt-repository]]
[[분류: add-apt-repository]]

2020년 11월 2일 (월) 02:49 기준 최신판

우분투 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 }}