3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ubuntuにgradleをインストールする方法

Posted at

概要

ubuntuにgradleコマンドをインストールする方法.

手順

  1. gradleのダウンロード
    gradleのホームページに行き、右にあるDownloadをクリック.(2015/02/23時点では最新は2.3)
  2. 解凍してパスを通す

  $ unzip gradle-2.3-all.zip
  $ cp -r gradle-2.3 ~/local/bin
  $ export PATH=$PATH:~/local/bin/gradle-2.3/bin
  
  1. 実行

 $ gradle -v
 ------------------------------------------------------------
 Gradle 2.3
 ------------------------------------------------------------
 Build time:   2015-02-16 05:09:33 UTC 
 Build number: none
 Revision:     586be72bf6e3df1ee7676d1f2a3afd9157341274
 Groovy:       2.3.9
 Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
 JVM:          1.7.0_75 (Oracle Corporation 24.75-b04)
 OS:           Linux 3.2.0-76-generic amd64
 

Update方法

最新版が出たら、上記の手順を1からおこなう。

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?