mirror of
https://github.com/MaintainTeam/Hypatia.git
synced 2025-03-01 05:48:23 +03:00
Reduce APK size further
This commit is contained in:
parent
ceae4ae010
commit
a198956b20
3 changed files with 6 additions and 5 deletions
|
@ -6,22 +6,22 @@ android {
|
||||||
applicationId "us.spotco.malwarescanner"
|
applicationId "us.spotco.malwarescanner"
|
||||||
minSdkVersion 16
|
minSdkVersion 16
|
||||||
targetSdkVersion 26
|
targetSdkVersion 26
|
||||||
versionCode 33
|
versionCode 35
|
||||||
versionName "2.7"
|
versionName "2.7"
|
||||||
|
resConfigs "en"
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
applicationIdSuffix ".debug"
|
applicationIdSuffix ".debug"
|
||||||
minifyEnabled true
|
minifyEnabled true
|
||||||
useProguard false
|
|
||||||
zipAlignEnabled true
|
zipAlignEnabled true
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
useProguard false
|
||||||
}
|
}
|
||||||
release {
|
release {
|
||||||
shrinkResources true
|
shrinkResources true
|
||||||
minifyEnabled true
|
minifyEnabled true
|
||||||
useProguard true
|
|
||||||
zipAlignEnabled true
|
zipAlignEnabled true
|
||||||
|
useProguard true
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2
app/proguard-rules.pro
vendored
2
app/proguard-rules.pro
vendored
|
@ -19,3 +19,5 @@
|
||||||
# If you keep the line number information, uncomment this to
|
# If you keep the line number information, uncomment this to
|
||||||
# hide the original source file name.
|
# hide the original source file name.
|
||||||
#-renamesourcefileattribute SourceFile
|
#-renamesourcefileattribute SourceFile
|
||||||
|
|
||||||
|
-optimizationpasses 3
|
|
@ -17,5 +17,4 @@
|
||||||
<string name="lblNotificationRealtimeText">Malware will be detected in realtime</string>
|
<string name="lblNotificationRealtimeText">Malware will be detected in realtime</string>
|
||||||
<string name="lblNotificationRealtimeDetection">Malware Detected:</string>
|
<string name="lblNotificationRealtimeDetection">Malware Detected:</string>
|
||||||
<string name="lblRealtimeScannerToggle">Realtime Scanner</string>
|
<string name="lblRealtimeScannerToggle">Realtime Scanner</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
Loading…
Add table
Reference in a new issue