mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-25 08:05:55 +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 {
|
||||
release {
|
||||
minifyEnabled false
|
||||
minifyEnabled true
|
||||
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:
|
||||
|
||||
-dontobfuscate
|
||||
|
||||
# Pebble BG-JS
|
||||
-keepclassmembers class * {
|
||||
@android.webkit.JavascriptInterface <methods>;
|
||||
|
Loading…
Reference in New Issue
Block a user