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:
+ count += handleproblem('JAR file', path_in_build_dir, filepath)
+
+ elif ext == 'aar':
+ count += handleproblem('AAR file', path_in_build_dir, filepath)
elif ext == 'java':
if not os.path.isfile(filepath):