mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
scan gradle.kts
This commit is contained in:
parent
0aca165b4e
commit
90bc8e1e8f
4 changed files with 124 additions and 1 deletions
|
|
@ -406,7 +406,7 @@ def scan_source(build_dir, build=metadata.Build()):
|
|||
count += handleproblem('DexClassLoader', path_in_build_dir, filepath)
|
||||
break
|
||||
|
||||
elif curfile.endswith('.gradle'):
|
||||
elif curfile.endswith('.gradle') or curfile.endswith('.gradle.kts'):
|
||||
if not os.path.isfile(filepath):
|
||||
continue
|
||||
with open(filepath, 'r', errors='replace') as f:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue