瀏覽代碼

move lintOptions to lint block

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 3 年之前
父節點
當前提交
2c2d4aa306
共有 1 個文件被更改,包括 6 次插入6 次删除
  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 {