1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01:00

Merge branch 'fix-custom-buildToolsVersion' into 'master'

Fix gradle adaptation for custom buildToolsVersion configurations

I have ```build_tools = "22.0.1"``` configured in my config.py, however a recent fdroidserver update broke this. This PR fixes it for me.

See merge request !64
This commit is contained in:
Daniel Martí 2015-08-09 01:40:20 +00:00
commit 576135ff8f

View File

@ -437,7 +437,7 @@ def adapt_gradle(build_dir):
continue continue
logging.debug("Adapting %s at %s" % (filename, path)) logging.debug("Adapting %s at %s" % (filename, path))
common.regsub_file(r"""(\s*)buildToolsVersion[\s'"=]+.*""", common.regsub_file(r"""(\s*)buildToolsVersion[\s'"=]+.*""",
r"""\1buildToolsVersion '%s'""" % config['build_tools'], r"""\1buildToolsVersion = '%s'""" % config['build_tools'],
path) path)