1
1

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.

3行でわかるKotlin v1.2.71からv1.3.0へのアップデート方法

Last updated at Posted at 2018-10-30

Android Gradle Pluginのバージョンを3.3.0-beta01にあげる

スクリーンショット 2018-10-30 17.01.59.png

任意のプロジェクト開くとダイアログが出てくる(はず
出てこない場合はAndroid Studioを再起動 or 最新版のAndroid Studioを取ってくると出てくる(はず

kotlinのVersionをv1.2.71からv1.3.0に書き換えてSyncする

build.gradle
buildscript {
    dependencies {
        classpath 'com.android.tools.build:gradle:3.2.1'
-       classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.71" //削除
+       classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.0"  //追加
        ...
    }
}

Kotlin Migrationのダイアログから Run migrationsを実行する

スクリーンショット 2018-10-30 17.05.10.png

おわり!

なお、この手順は2018/10/30時点のものです

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?