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

Better gradle signing keys regexes

This commit is contained in:
Daniel Martí 2014-03-21 19:11:52 +01:00
parent 22142138a6
commit 7cf368df70

View File

@ -1409,9 +1409,10 @@ def remove_signing_keys(build_dir):
signing_configs = re.compile(r'^[\t ]*signingConfigs[ \t]*{[ \t]*$')
line_matches = [
re.compile(r'^[\t ]*signingConfig [^ ]*$'),
re.compile(r'android.signingConfigs.'),
re.compile(r'variant.outputFile = '),
re.compile(r'.readLine\('),
re.compile(r'.*android\.signingConfigs\..*'),
re.compile(r'.*variant\.outputFile = .*'),
re.compile(r'.*\.readLine\(.*'),
re.compile(r'.*System\.console\(\).*'),
]
for root, dirs, files in os.walk(build_dir):
if 'build.gradle' in files: