mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
Don't crash when using gradle=yes
This commit is contained in:
parent
0b50566f0f
commit
c63fef2af3
1 changed files with 4 additions and 1 deletions
|
@ -613,8 +613,11 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
||||||
commands = [config['gradle']]
|
commands = [config['gradle']]
|
||||||
if 'preassemble' in thisbuild:
|
if 'preassemble' in thisbuild:
|
||||||
commands += thisbuild['preassemble'].split()
|
commands += thisbuild['preassemble'].split()
|
||||||
|
|
||||||
flavours_cmd = ''.join(flavours)
|
flavours_cmd = ''.join(flavours)
|
||||||
flavours_cmd = flavours_cmd[0].upper() + flavours_cmd[1:]
|
if flavours_cmd:
|
||||||
|
flavours_cmd = flavours_cmd[0].upper() + flavours_cmd[1:]
|
||||||
|
|
||||||
commands += ['assemble'+flavours_cmd+'Release']
|
commands += ['assemble'+flavours_cmd+'Release']
|
||||||
|
|
||||||
p = FDroidPopen(commands, cwd=gradle_dir)
|
p = FDroidPopen(commands, cwd=gradle_dir)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue