build_local_run: run gradle tasks one by one

This commit is contained in:
linsui committed 2026-04-29 14:02:03 +00:00
1 parent c256ff020d
commit 08908374b4
1 file changed
+7 -3
+7 -3
View File
@@ -397,9 +397,13 @@ def execute_build(app, build, config, gradletasks):
if build.gradleprops:
cmd += ['-P' + kv for kv in build.gradleprops]
cmd += gradletasks
p = common.FDroidPopen(cmd, cwd=root_dir)
for task in gradletasks:
p = common.FDroidPopen(
cmd + [task],
cwd=root_dir,
)
if p is not None and p.returncode != 0:
return p, bindir
elif bmethod == 'ant':
logging.info("Building Ant project...")