mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Always run 'clean' on ant and gradle projects too
This commit is contained in:
parent
b70bcbfd23
commit
5adcd129f6
1 changed files with 2 additions and 2 deletions
|
|
@ -490,7 +490,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
|||
if flavour in ['main', 'yes', '']:
|
||||
flavour = ''
|
||||
|
||||
commands = [gradle]
|
||||
commands = [gradle, 'clean']
|
||||
if 'preassemble' in thisbuild:
|
||||
for task in thisbuild['preassemble'].split():
|
||||
commands.append(task)
|
||||
|
|
@ -518,7 +518,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
|||
|
||||
else:
|
||||
print "Building Ant project..."
|
||||
antcommands = ['ant']
|
||||
antcommands = ['ant', 'clean']
|
||||
if install:
|
||||
antcommands += ['debug','install']
|
||||
elif 'antcommand' in thisbuild:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue