mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
When patching or checking plugin versions, use *.gradle
Apparently all *.gradle files are valid, e.g. global.gradle.
This commit is contained in:
parent
021df3c424
commit
acd49c6e4d
2 changed files with 12 additions and 7 deletions
|
|
@ -430,7 +430,9 @@ def build_server(app, thisbuild, vcs, build_dir, output_dir, force):
|
|||
def adapt_gradle(build_dir):
|
||||
filename = 'build.gradle'
|
||||
for root, dirs, files in os.walk(build_dir):
|
||||
if filename in files:
|
||||
for filename in files:
|
||||
if not filename.endswith('.gradle'):
|
||||
continue
|
||||
path = os.path.join(root, filename)
|
||||
logging.debug("Adapting %s at %s" % (filename, path))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue