chiark / gitweb /
Exclude lint from gradle build tasks
authorDaniel Martí <mvdan@mvdan.cc>
Sat, 7 Jun 2014 22:48:35 +0000 (00:48 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Sat, 7 Jun 2014 22:50:19 +0000 (00:50 +0200)
fdroidserver/build.py

index 9764962bfa1089dee83d15942099f0a787cf162e..76307f5342ff2df814568e30d0dac07441c615cf 100644 (file)
@@ -705,6 +705,10 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
 
         commands += ['assemble' + flavours_cmd + 'Release']
 
+        # Avoid having to use lintOptions.abortOnError false
+        # TODO: Do flavours or project names change this task name?
+        commands += ['-x', 'lintVitalRelease']
+
         p = FDroidPopen(commands, cwd=gradle_dir)
 
     elif thisbuild['type'] == 'ant':