Add support for gradle properties via gradleprops

This commit is contained in:
Daniel Martí 2015-08-24 15:54:05 -07:00
parent 5a0129d835
commit 06c94b3a44
3 changed files with 19 additions and 3 deletions

View file

@ -105,6 +105,7 @@ flag_defaults = OrderedDict([
('buildjni', []),
('ndk', 'r10e'), # defaults to latest
('preassemble', []),
('gradleprops', []),
('antcommands', None),
('novcheck', False),
])
@ -522,7 +523,8 @@ def metafieldtype(name):
def flagtype(name):
if name in ['extlibs', 'srclibs', 'patch', 'rm', 'buildjni', 'preassemble',
'update', 'scanignore', 'scandelete', 'gradle', 'antcommands']:
'update', 'scanignore', 'scandelete', 'gradle', 'antcommands',
'gradleprops']:
return 'list'
if name in ['init', 'prebuild', 'build']:
return 'script'