mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Start supporting gradle tasks that belong to subprojects
This commit is contained in:
parent
ed5c2fd33d
commit
b416795166
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user