mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
Always run 'clean' on ant and gradle projects too
This commit is contained in:
parent
b70bcbfd23
commit
5adcd129f6
@ -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…
Reference in New Issue
Block a user