mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-29 05:07:40 +00:00
Adjust build optimizations
This commit is contained in:
parent
fd29755cf1
commit
340d7b0154
@ -74,12 +74,14 @@ android {
|
|||||||
buildTypes {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
minifyEnabled true
|
minifyEnabled true
|
||||||
|
shrinkResources true
|
||||||
signingConfig signingConfigs.debug
|
signingConfig signingConfigs.debug
|
||||||
}
|
}
|
||||||
// keep minifyEnabled false above for faster builds; set to 'true'
|
// keep minifyEnabled false above for faster builds; set to 'true'
|
||||||
// when testing to make sure ProGuard/R8 is not deleting important stuff
|
// when testing to make sure ProGuard/R8 is not deleting important stuff
|
||||||
release {
|
release {
|
||||||
minifyEnabled true
|
minifyEnabled true
|
||||||
|
shrinkResources true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
5
proguard-rules.pro
vendored
5
proguard-rules.pro
vendored
@ -18,11 +18,6 @@
|
|||||||
|
|
||||||
-dontobfuscate
|
-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.spongycastle.**
|
||||||
-dontwarn org.apache.sshd.**
|
-dontwarn org.apache.sshd.**
|
||||||
-dontwarn org.apache.mina.**
|
-dontwarn org.apache.mina.**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user