chiark / gitweb /
Avoid lint on all new plugin versions, remove TODO
authorDaniel Martí <mvdan@mvdan.cc>
Fri, 4 Jul 2014 06:59:30 +0000 (08:59 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Fri, 4 Jul 2014 06:59:30 +0000 (08:59 +0200)
fdroidserver/build.py

index e66ea710fb24e3e12e78e1c84398a24633dfe46e..a4561a9fe903a36fc0df6fc25e69f4471fbd50aa 100644 (file)
@@ -695,8 +695,7 @@ 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?
-        if LooseVersion('0.8') <= thisbuild['gradlepluginver'] < LooseVersion('0.12'):
+        if thisbuild['gradlepluginver'] >= LooseVersion('0.8'):
             commands += ['-x', 'lintVital' + flavours_cmd + 'Release']
 
         p = FDroidPopen(commands, cwd=root_dir)