Эх сурвалжийг харах

Merge pull request #990 from nextcloud/lintConfig

disable 'MissingTranslation' as this is handled by transifex
Andy Scherzinger 8 жил өмнө
parent
commit
8ed477ca0d

+ 2 - 5
build.gradle

@@ -51,10 +51,11 @@ repositories {
 
 
 android {
 android {
     lintOptions {
     lintOptions {
-        abortOnError true
+        abortOnError false
         lintConfig file("${project.rootDir}/lint.xml")
         lintConfig file("${project.rootDir}/lint.xml")
         htmlReport true
         htmlReport true
         htmlOutput file("$project.buildDir/reports/lint/lint.html")
         htmlOutput file("$project.buildDir/reports/lint/lint.html")
+        disable 'MissingTranslation'
     }
     }
 
 
     dexOptions {
     dexOptions {
@@ -115,10 +116,6 @@ android {
         targetCompatibility JavaVersion.VERSION_1_7
         targetCompatibility JavaVersion.VERSION_1_7
     }
     }
 
 
-    lintOptions {
-        abortOnError false
-    }
-
     packagingOptions {
     packagingOptions {
         exclude 'META-INF/LICENSE.txt'
         exclude 'META-INF/LICENSE.txt'
         exclude 'META-INF/LICENSE'
         exclude 'META-INF/LICENSE'

+ 1 - 1
scripts/lint/lint-results.txt

@@ -1,2 +1,2 @@
 DO NOT TOUCH; GENERATED BY DRONE
 DO NOT TOUCH; GENERATED BY DRONE
-      <span class="mdl-layout-title">Lint Report: 698 errors and 860 warnings</span>
+      <span class="mdl-layout-title">Lint Report: 76 errors and 860 warnings</span>