mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Don't use the error-prone -x method to avoid lint usage
This commit is contained in:
parent
3d923a6718
commit
d69f93e5b2
1 changed files with 3 additions and 2 deletions
|
|
@ -696,8 +696,9 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
||||||
commands += ['assemble' + flavours_cmd + 'Release']
|
commands += ['assemble' + flavours_cmd + 'Release']
|
||||||
|
|
||||||
# Avoid having to use lintOptions.abortOnError false
|
# Avoid having to use lintOptions.abortOnError false
|
||||||
if thisbuild['gradlepluginver'] >= LooseVersion('0.8'):
|
if thisbuild['gradlepluginver'] >= LooseVersion('0.7'):
|
||||||
commands += ['-x', 'lintVital' + flavours_cmd + 'Release']
|
with open(os.path.join(root_dir, 'build.gradle'), "a") as f:
|
||||||
|
f.write("\nandroid { lintOptions { checkReleaseBuilds false } }\n")
|
||||||
|
|
||||||
p = FDroidPopen(commands, cwd=root_dir)
|
p = FDroidPopen(commands, cwd=root_dir)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue