1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 11:00:10 +01:00

scanner: warn on aar files

This commit is contained in:
Marcus Hoffmann 2017-09-04 00:57:38 +02:00
parent 5d9eb9b295
commit af2eb2bd50

View File

@ -200,6 +200,9 @@ def scan_source(build_dir, build):
count += handleproblem('usual supect \'%s\'' % name, path_in_build_dir, filepath)
warnproblem('JAR file', path_in_build_dir)
elif ext == 'aar':
warnproblem('AAR file', path_in_build_dir)
elif ext == 'java':
if not os.path.isfile(filepath):
continue