mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-23 04:41:16 +00:00
Disabled proguard
This commit is contained in:
parent
42ac994918
commit
846e5adc0d
2 changed files with 0 additions and 18 deletions
|
@ -74,8 +74,6 @@ android {
|
||||||
debuggable true
|
debuggable true
|
||||||
}
|
}
|
||||||
release {
|
release {
|
||||||
minifyEnabled true
|
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-android.txt'
|
|
||||||
if (System.getenv("key_alias")) {
|
if (System.getenv("key_alias")) {
|
||||||
signingConfig signingConfigs.release
|
signingConfig signingConfigs.release
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
# Fix appcompat-v7 v21.0.0 causing crash on Samsung devices with Android v4.2.2 (https://code.google.com/p/android/issues/detail?id=78377)
|
|
||||||
-keep class !android.support.v7.internal.view.menu.MenuBuilder, !android.support.v7.internal.view.menu.SubMenuBuilder, android.support.v7.** { *; }
|
|
||||||
-keep interface android.support.v7.** { *; }
|
|
||||||
-keep class android.support.v7.internal.** { *; }
|
|
||||||
-keep interface android.support.v7.internal.** { *; }
|
|
||||||
-keep class android.support.v7.** { *; }
|
|
||||||
-keep interface android.support.v7.** { *; }
|
|
||||||
|
|
||||||
# Enable reflective access to mX509Certificate
|
|
||||||
-keepclassmembers class android.net.http.SslCertificate {
|
|
||||||
private final X509Certificate mX509Certificate;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Disable code obfuscation.(http://stackoverflow.com/a/13877518)
|
|
||||||
-dontobfuscate
|
|
||||||
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*,!code/allocation/variable
|
|
Loading…
Reference in a new issue