mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-05 17:01:06 +03:00
Add support for gradle plugin version 0.12
This commit is contained in:
parent
8b469a79f8
commit
8595e216f4
2 changed files with 3 additions and 3 deletions
|
@ -23,8 +23,8 @@ contains() {
|
||||||
|
|
||||||
# key-value pairs of what gradle version each gradle plugin version
|
# key-value pairs of what gradle version each gradle plugin version
|
||||||
# should accept
|
# should accept
|
||||||
d_plugin_k=(0.11 0.10 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2)
|
d_plugin_k=(0.12 0.11 0.10 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2)
|
||||||
d_plugin_v=(1.12 1.12 1.11 1.10 1.9 1.8 1.6 1.6 1.4 1.4)
|
d_plugin_v=(1.12 1.12 1.12 1.11 1.10 1.9 1.8 1.6 1.6 1.4 1.4)
|
||||||
|
|
||||||
for v in ${d_plugin_v}; do
|
for v in ${d_plugin_v}; do
|
||||||
contains $v "${v_all[*]}" && v_def=$v && break
|
contains $v "${v_all[*]}" && v_def=$v && break
|
||||||
|
|
|
@ -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
|
# Avoid having to use lintOptions.abortOnError false
|
||||||
# TODO: Do flavours or project names change this task name?
|
# 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']
|
commands += ['-x', 'lintVital' + flavours_cmd + 'Release']
|
||||||
|
|
||||||
p = FDroidPopen(commands, cwd=root_dir)
|
p = FDroidPopen(commands, cwd=root_dir)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue