mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-02-04 04:54:10 +01:00
enable minifiy for release, but don't obfuscate
(shrinks apk size from 6.1 to 5.1MB)
This commit is contained in:
parent
7f8d4ac92a
commit
8394928b94
@ -31,7 +31,7 @@ android {
|
|||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
minifyEnabled false
|
minifyEnabled 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
@ -9,6 +9,8 @@
|
|||||||
|
|
||||||
# Add any project specific keep options here:
|
# Add any project specific keep options here:
|
||||||
|
|
||||||
|
-dontobfuscate
|
||||||
|
|
||||||
# Pebble BG-JS
|
# Pebble BG-JS
|
||||||
-keepclassmembers class * {
|
-keepclassmembers class * {
|
||||||
@android.webkit.JavascriptInterface <methods>;
|
@android.webkit.JavascriptInterface <methods>;
|
||||||
|
Loading…
Reference in New Issue
Block a user