Jelajahi Sumber

add lint options

tobiasKaminsky 7 tahun lalu
induk
melakukan
5315e23542
1 mengubah file dengan 6 tambahan dan 0 penghapusan
  1. 6 0
      app/build.gradle

+ 6 - 0
app/build.gradle

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