10
7

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

はじめに

2017/01/01 現在、Ubuntuリポジトリのgradleは、Version1.4です。
このバージョンのgradleを使用してinitした場合に、エラーが発生することがあります。
この記事では、aptのリポジトリに追加して、gradleのバージョンをアップグレードします。

環境

  • Ubuntu

1.リポジトリの追加

sudo add-apt-repository ppa:cwchien/gradle

2.aptの更新

sudo apt-get update

3.Gradleのアップグレード

sudo apt-get upgrade gradle

4.不要になったパッケージを削除

sudo apt-get autoremove

5.gradelのバージョン確認

gradle -v
10
7
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
10
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?