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:
parent
40b24cd242
commit
3af8874b87
2 changed files with 2 additions and 10 deletions
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue