Add support for gradle plugin version 0.12

This commit is contained in:
Daniel Martí 2014-07-04 08:50:20 +02:00
parent 8b469a79f8
commit 8595e216f4
2 changed files with 3 additions and 3 deletions

View file

@ -696,7 +696,7 @@ 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?
if LooseVersion('0.8') <= thisbuild['gradlepluginver'] < LooseVersion('0.11'):
if LooseVersion('0.8') <= thisbuild['gradlepluginver'] < LooseVersion('0.12'):
commands += ['-x', 'lintVital' + flavours_cmd + 'Release']
p = FDroidPopen(commands, cwd=root_dir)