mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Don't match gradle plugin import lines which are commented
This commit is contained in:
parent
3e04a44941
commit
ce48e8f78d
@ -1293,7 +1293,7 @@ def prepare_source(vcs, app, build, build_dir, srclib_dir, extlib_dir, onserver=
|
||||
if build['type'] == '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
|
||||
|
||||
gradle_dirs = [root_dir]
|
||||
|
Loading…
Reference in New Issue
Block a user