mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
remove gradle-wrapper.jar during scan
We make sure to not use the gradle wrapper anyway so this should have no impact.
This commit is contained in:
parent
af2eb2bd50
commit
15c4492625
1 changed files with 4 additions and 1 deletions
|
|
@ -198,7 +198,10 @@ def scan_source(build_dir, build):
|
|||
elif ext == 'jar':
|
||||
for name in suspects_found(curfile):
|
||||
count += handleproblem('usual supect \'%s\'' % name, path_in_build_dir, filepath)
|
||||
warnproblem('JAR file', path_in_build_dir)
|
||||
if curfile == 'gradle-wrapper.jar':
|
||||
removeproblem('gradle-wrapper.jar', path_in_build_dir, filepath)
|
||||
else:
|
||||
warnproblem('JAR file', path_in_build_dir)
|
||||
|
||||
elif ext == 'aar':
|
||||
warnproblem('AAR file', path_in_build_dir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue