Browse Source

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
pull/2162/head^2
Konrad Pozniak 5 years ago committed by GitHub
parent
commit
3af8874b87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      app/build.gradle
  2. 2
      build.gradle

10
app/build.gradle

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

2
build.gradle

@ -5,7 +5,7 @@ buildscript {
jcenter() jcenter()
} }
dependencies { 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" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
} }
} }

Loading…
Cancel
Save