New gradle=[flavour] field

This commit is contained in:
Daniel Martí 2013-08-03 17:07:55 +02:00
parent 59e212d7a3
commit a5b8659632
2 changed files with 4 additions and 1 deletions

View file

@ -1133,7 +1133,7 @@ def prepare_source(vcs, app, build, build_dir, srclib_dir, extlib_dir, sdk_path,
# Generate (or update) the ant build file, build.xml...
updatemode = build.get('update', '.')
if (updatemode != 'no' and
'maven' not in build):
'maven' not in build and 'gradle' not in build):
parms = [os.path.join(sdk_path, 'tools', 'android'),
'update', 'project', '-p', '.']
parms.append('--subprojects')