From 73dc51b3f6f68c5888eda990a89eee2bf315ff94 Mon Sep 17 00:00:00 2001 From: arkon Date: Thu, 28 May 2020 17:40:16 -0400 Subject: [PATCH] Update Android Gradle plugin for AS 4.0 --- app/build.gradle | 8 ++++++-- buildSrc/src/main/kotlin/Dependencies.kt | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index bdc53e020..c8abfcc6f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -55,8 +55,8 @@ android { } } - viewBinding { - enabled = true + buildFeatures { + viewBinding = true } buildTypes { @@ -92,6 +92,10 @@ android { exclude 'META-INF/NOTICE' } + dependenciesInfo { + includeInApk = false + } + lintOptions { abortOnError false checkReleaseBuilds false diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt index 0ae0ed61e..431f2c4a6 100644 --- a/buildSrc/src/main/kotlin/Dependencies.kt +++ b/buildSrc/src/main/kotlin/Dependencies.kt @@ -3,7 +3,7 @@ object Versions { } object BuildPluginsVersion { - const val AGP = "3.6.3" + const val AGP = "4.0.0" const val KOTLIN = "1.3.72" const val KTLINT = "9.2.1" const val VERSIONS_PLUGIN = "0.28.0"