From 3af8874b877edc42881342b1730ea09a7dbf0acd Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Wed, 19 May 2021 07:40:45 +0200 Subject: [PATCH] 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 --- app/build.gradle | 10 +--------- build.gradle | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 76621a8c1..2ee231ff6 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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' } } diff --git a/build.gradle b/build.gradle index d6ef9eec0..94911834e 100644 --- a/build.gradle +++ b/build.gradle @@ -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" } }