mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 15:30:28 +03:00
Use gradle_dir, not root_dir, to fetch the plugin version
This commit is contained in:
parent
1c9ee1d3bf
commit
69da721f02
1 changed files with 1 additions and 1 deletions
|
|
@ -1145,7 +1145,7 @@ def prepare_source(vcs, app, build, build_dir, srclib_dir, extlib_dir, onserver=
|
|||
if '@' in build['gradle'] and not gradlepluginver:
|
||||
gradle_dir = os.path.join(root_dir, build['gradle'].split('@', 1)[1])
|
||||
gradle_dir = os.path.normpath(gradle_dir)
|
||||
with open(os.path.join(root_dir, 'build.gradle')) as f:
|
||||
with open(os.path.join(gradle_dir, 'build.gradle')) as f:
|
||||
for line in f:
|
||||
match = version_regex.match(line)
|
||||
if match:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue