chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed5c2fd
)
Start supporting gradle tasks that belong to subprojects
author
Daniel Martí
<mvdan@mvdan.cc>
Thu, 9 Apr 2015 22:13:50 +0000
(
00:13
+0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Thu, 9 Apr 2015 22:14:25 +0000
(
00:14
+0200)
fdroidserver/build.py
patch
|
blob
|
history
diff --git
a/fdroidserver/build.py
b/fdroidserver/build.py
index 314afcc5f98070eb34a300437957c25e015e6ee7..8fffce35b2eb32ab6ceb283caeb8c293f3dfd072 100644
(file)
--- a/
fdroidserver/build.py
+++ b/
fdroidserver/build.py
@@
-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)