upgrade android gradle plugin to 4.2.1 (#2160)

* upgrade android gradle plugin to 4.2.1

* upgrade android gradle plugin to 4.2.1
This commit is contained in:
Konrad Pozniak 2021-05-19 07:40:45 +02:00 committed by GitHub
parent 40b24cd242
commit 3af8874b87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 10 deletions

View File

@ -34,7 +34,6 @@ android {
kapt {
arguments {
arg("room.schemaLocation", "$projectDir/schemas")
arg("room.incremental", "true")
}
}
}
@ -60,10 +59,6 @@ android {
lintOptions {
disable 'MissingTranslation'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildFeatures {
viewBinding true
}
@ -88,11 +83,8 @@ android {
enableSplit = false
}
}
}
project.tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "1.8"
jvmTarget = '1.8'
}
}

View File

@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.2'
classpath 'com.android.tools.build:gradle:4.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}