2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-22 01:51:47 +00:00

Adjust build optimizations

This commit is contained in:
Isira Seneviratne 2020-08-02 06:31:33 +00:00 committed by Philip Cohn-Cort
parent fd29755cf1
commit 340d7b0154
2 changed files with 2 additions and 5 deletions

View File

@ -74,12 +74,14 @@ android {
buildTypes {
debug {
minifyEnabled true
shrinkResources true
signingConfig signingConfigs.debug
}
// keep minifyEnabled false above for faster builds; set to 'true'
// when testing to make sure ProGuard/R8 is not deleting important stuff
release {
minifyEnabled true
shrinkResources true
}
}
}

5
proguard-rules.pro vendored
View File

@ -18,11 +18,6 @@
-dontobfuscate
# Allow obfuscation of android.support.v7.internal.view.menu.**
# to avoid problem on Samsung 4.2.2 devices with appcompat v21
# see https://code.google.com/p/android/issues/detail?id=78377
-keepnames class !android.support.v7.internal.view.menu.**,android.support.v7.** {*;}
-dontwarn org.spongycastle.**
-dontwarn org.apache.sshd.**
-dontwarn org.apache.mina.**