mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
Centralise handling of default gradle flavours
This commit is contained in:
parent
a195556378
commit
34a3405208
4 changed files with 9 additions and 13 deletions
|
|
@ -682,9 +682,6 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
|||
logging.info("Building Gradle project...")
|
||||
flavours = thisbuild['gradle']
|
||||
|
||||
if len(flavours) == 1 and flavours[0] in ['main', 'yes', '']:
|
||||
flavours[0] = ''
|
||||
|
||||
commands = [config['gradle']]
|
||||
if thisbuild['preassemble']:
|
||||
commands += thisbuild['preassemble'].split()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue