1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 15:13:27 +02:00

Start supporting gradle tasks that belong to subprojects

This commit is contained in:
Daniel Martí 2015-04-10 00:13:50 +02:00
parent ed5c2fd33d
commit b416795166

View File

@ -516,7 +516,10 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
adapt_gradle(libpath)
cmd = [config['gradle']]
cmd += ['clean' + capitalize_intact(task) for task in gradletasks]
for task in gradletasks:
parts = task.split(':')
parts[-1] = 'clean' + capitalize_intact(parts[-1])
cmd += [':'.join(parts)]
p = FDroidPopen(cmd, cwd=root_dir)