Browse Source

Merge pull request #990 from nextcloud/lintConfig

disable 'MissingTranslation' as this is handled by transifex
Andy Scherzinger 8 years ago
parent
commit
8ed477ca0d
2 changed files with 3 additions and 6 deletions
  1. 2 5
      build.gradle
  2. 1 1
      scripts/lint/lint-results.txt

+ 2 - 5
build.gradle

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

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

@@ -1,2 +1,2 @@
 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>