Centralise handling of default gradle flavours

This commit is contained in:
Daniel Martí 2014-09-13 13:04:24 +02:00
parent a195556378
commit 34a3405208
4 changed files with 9 additions and 13 deletions

View file

@ -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()