mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
lintVital was added in 0.8, only exclude it then
This commit is contained in:
parent
3c08b51dfb
commit
9779979e3a
2 changed files with 25 additions and 1 deletions
|
|
@ -29,6 +29,7 @@ import time
|
|||
import json
|
||||
from ConfigParser import ConfigParser
|
||||
from optparse import OptionParser, OptionError
|
||||
from distutils.version import LooseVersion
|
||||
import logging
|
||||
|
||||
import common
|
||||
|
|
@ -707,7 +708,8 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
|||
|
||||
# Avoid having to use lintOptions.abortOnError false
|
||||
# TODO: Do flavours or project names change this task name?
|
||||
commands += ['-x', 'lintVitalRelease']
|
||||
if thisbuild['gradlepluginver'] >= LooseVersion('0.8'):
|
||||
commands += ['-x', 'lintVital' + flavours_cmd + 'Release']
|
||||
|
||||
p = FDroidPopen(commands, cwd=gradle_dir)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue