mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30: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:
commit
576135ff8f
@ -437,7 +437,7 @@ def adapt_gradle(build_dir):
|
||||
continue
|
||||
logging.debug("Adapting %s at %s" % (filename, path))
|
||||
common.regsub_file(r"""(\s*)buildToolsVersion[\s'"=]+.*""",
|
||||
r"""\1buildToolsVersion '%s'""" % config['build_tools'],
|
||||
r"""\1buildToolsVersion = '%s'""" % config['build_tools'],
|
||||
path)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user