mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
scanner: promote jar and aar files present in the repo to errors
This makes sure we we don't include any prebuilt code in the build process.
This commit is contained in:
parent
15c4492625
commit
5f5d3ea896
1 changed files with 2 additions and 2 deletions
|
@ -201,10 +201,10 @@ def scan_source(build_dir, build):
|
|||
if curfile == 'gradle-wrapper.jar':
|
||||
removeproblem('gradle-wrapper.jar', path_in_build_dir, filepath)
|
||||
else:
|
||||
warnproblem('JAR file', path_in_build_dir)
|
||||
count += handleproblem('JAR file', path_in_build_dir, filepath)
|
||||
|
||||
elif ext == 'aar':
|
||||
warnproblem('AAR file', path_in_build_dir)
|
||||
count += handleproblem('AAR file', path_in_build_dir, filepath)
|
||||
|
||||
elif ext == 'java':
|
||||
if not os.path.isfile(filepath):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue