1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 02:50:12 +01:00

gradle and maven keys should be among the first

This commit is contained in:
Daniel Martí 2013-11-16 22:51:03 +01:00
parent 363d404cbf
commit d32722a4aa

View File

@ -818,12 +818,11 @@ def write_metadata(dest, app):
# This defines the preferred order for the build items - as in the # This defines the preferred order for the build items - as in the
# manual, they're roughly in order of application. # manual, they're roughly in order of application.
keyorder = ['disable', 'commit', 'subdir', 'submodules', 'init', keyorder = ['disable', 'commit', 'subdir', 'submodules', 'init',
'oldsdkloc', 'target', 'compilesdk', 'update', 'gradle', 'maven', 'oldsdkloc', 'target', 'compilesdk',
'encoding', 'forceversion', 'forcevercode', 'rm', 'update', 'encoding', 'forceversion', 'forcevercode', 'rm',
'fixtrans', 'fixapos', 'extlibs', 'srclibs', 'fixtrans', 'fixapos', 'extlibs', 'srclibs', 'patch',
'patch', 'prebuild', 'scanignore', 'scandelete', 'build', 'prebuild', 'scanignore', 'scandelete', 'build', 'buildjni',
'buildjni', 'gradle', 'maven', 'preassemble', 'preassemble', 'bindir', 'antcommand', 'novcheck']
'bindir', 'antcommand', 'novcheck']
def write_builditem(key, value): def write_builditem(key, value):
if key not in ['version', 'vercode', 'origlines']: if key not in ['version', 'vercode', 'origlines']: