Explorar el Código

Update Android Gradle plugin for AS 4.0

arkon hace 4 años
padre
commit
73dc51b3f6
Se han modificado 2 ficheros con 7 adiciones y 3 borrados
  1. 6 2
      app/build.gradle
  2. 1 1
      buildSrc/src/main/kotlin/Dependencies.kt

+ 6 - 2
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

+ 1 - 1
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"