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

Don't match gradle plugin import lines which are commented

This commit is contained in:
Daniel Martí 2015-05-08 00:58:52 +02:00
parent 3e04a44941
commit ce48e8f78d

View File

@ -1293,7 +1293,7 @@ def prepare_source(vcs, app, build, build_dir, srclib_dir, extlib_dir, onserver=
if build['type'] == 'gradle': if build['type'] == 'gradle':
flavours = build['gradle'] flavours = build['gradle']
version_regex = re.compile(r".*'com\.android\.tools\.build:gradle:([^\.]+\.[^\.]+).*'.*") version_regex = re.compile(r"[^/]*'com\.android\.tools\.build:gradle:([^\.]+\.[^\.]+).*'.*")
gradlepluginver = None gradlepluginver = None
gradle_dirs = [root_dir] gradle_dirs = [root_dir]