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:
parent
22142138a6
commit
7cf368df70
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user