mirror of
https://github.com/MaintainTeam/Hypatia.git
synced 2025-02-28 13:28:20 +03:00
Make the app smaller
Newer Bouncy Castle compresses some stuff:
0aacc38aef
Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
a545ae6b63
commit
dbb7e98fa8
4 changed files with 5 additions and 4 deletions
|
@ -20,7 +20,7 @@ android {
|
|||
shrinkResources true
|
||||
minifyEnabled true
|
||||
zipAlignEnabled true
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
lint {
|
||||
|
@ -30,6 +30,6 @@ android {
|
|||
|
||||
dependencies {
|
||||
implementation 'commons-io:commons-io:2.5'
|
||||
implementation 'org.bouncycastle:bcpg-jdk15to18:1.73'
|
||||
implementation 'org.bouncycastle:bcpg-jdk15to18:1.77'
|
||||
implementation 'com.google.guava:guava:33.0.0-jre'
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -48,6 +48,7 @@
|
|||
<trusted-key id="6f538074ccebf35f28af9b066a0975f8b1127b83" group="org.jetbrains.kotlin"/>
|
||||
<trusted-key id="7615ad56144df2376f49d98b1669c4bb543e0445" group="com.google.errorprone"/>
|
||||
<trusted-key id="7616eb882daf57a11477aaf559a252fb1199d873" group="com.google.code.findbugs" name="jsr305" version="3.0.2"/>
|
||||
<trusted-key id="7b121b76a7ed6ce6e60ad51784e913a8e3a748c0" group="org.bouncycastle"/>
|
||||
<trusted-key id="7e22d50a7ebd9d2cd269b2d4056aca74d46000bf" group="io.netty"/>
|
||||
<trusted-key id="7f36e793ae3252e5d9e9b98fee9e7dc9d92fc896" group="com.google.errorprone"/>
|
||||
<trusted-key id="8254180bfc943b816e0b5e2e5e2f2b3d474efe6b" group="it.unimi.dsi" name="fastutil" version="8.4.0"/>
|
||||
|
|
|
@ -65,8 +65,8 @@ public class Main {
|
|||
if(exclusionDatabase.exists()) {
|
||||
Scanner s = new Scanner(exclusionDatabase);
|
||||
while(s.hasNextLine()) {
|
||||
String line = s.nextLine().trim();
|
||||
if(!line.startsWith("#") && (line.length() == 32 || line.length() == 40 || line.length() == 64)) {
|
||||
String line = s.nextLine().trim().toLowerCase();
|
||||
if(!line.startsWith("#") && isHexadecimal(line) && (line.length() == 32 || line.length() == 40 || line.length() == 64)) {
|
||||
arrExclusions.add(line);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue