Explorar o código

move lintOptions to lint block

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger %!s(int64=3) %!d(string=hai) anos
pai
achega
2c2d4aa306
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  1. 6 6
      app/build.gradle

+ 6 - 6
app/build.gradle

@@ -132,16 +132,16 @@ android {
         targetCompatibility JavaVersion.VERSION_1_8
     }
 
-    lintOptions {
-        abortOnError false
-        htmlReport true
-        htmlOutput file("$project.buildDir/reports/lint/lint.html")
-        disable 'MissingTranslation'
-    }
 
     buildFeatures {
         viewBinding true
     }
+    lint {
+        abortOnError false
+        disable 'MissingTranslation'
+        htmlOutput file("$project.buildDir/reports/lint/lint.html")
+        htmlReport true
+    }
 }
 
 ext {