Skip to content

Commit 1996322

Browse files
committed
Update Kotlin to version 1.3.31
Resolved error: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.0 and higher. The following dependencies do not satisfy the required version: root project 'android-media-controller' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.30 Resolved warning: WARNING: The specified Android SDK Build Tools version (27.0.3) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.3.2. Android SDK Build Tools 28.0.3 will be used. To suppress this warning, remove "buildToolsVersion '27.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
1 parent f42add3 commit 1996322

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
buildscript {
2121
ext {
2222
constraint_layout_version = '1.1.2'
23-
kotlin_version = '1.2.30'
23+
kotlin_version = '1.3.31'
2424
support_lib_version = '27.1.1'
2525
}
2626

@@ -29,7 +29,7 @@ buildscript {
2929
jcenter()
3030
}
3131
dependencies {
32-
classpath 'com.android.tools.build:gradle:3.1.3'
32+
classpath 'com.android.tools.build:gradle:3.3.2'
3333
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
3434

3535
// NOTE: Do not place your application dependencies here; they belong
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Fri Apr 13 10:26:08 KST 2018
1+
#Wed Apr 17 08:46:17 PDT 2019
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip

mediacontroller/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ apply plugin: 'kotlin-android-extensions'
2020

2121
android {
2222
compileSdkVersion 27
23-
buildToolsVersion '27.0.3'
2423

2524
compileOptions {
2625
sourceCompatibility JavaVersion.VERSION_1_8

0 commit comments

Comments
 (0)