1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

Fix gradle builds without flavours

This commit is contained in:
Daniel Martí 2014-09-16 08:38:18 +02:00
parent ce61186cd2
commit 9c4a529f5b

View File

@ -681,6 +681,8 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
elif thisbuild['type'] == 'gradle':
logging.info("Building Gradle project...")
flavours = thisbuild['gradle']
if flavours == ['yes']:
flavours = []
commands = [config['gradle']]
if thisbuild['preassemble']: