Modify ProGuard rules to automatically shrink object files

This commit is contained in:
Christian Hagau
2017-12-05 00:00:00 +00:00
committed by Dominik Schürmann
parent 14ce085be8
commit e5018a02d1
8 changed files with 53 additions and 25 deletions

View File

@@ -0,0 +1,17 @@
# Documentation for ProGuard:
# http://developer.android.com/guide/developing/tools/proguard.html
# http://proguard.sourceforge.net/
-dontoptimize
-dontpreverify
-dontnote **
-keepattributes **
-keep class org.sufficientlysecure.keychain.** { *; }
# * Obfuscate android.support.v7.view.menu.** to fix Samsung Android 4.2 bug
# https://code.google.com/p/android/issues/detail?id=78377
# * Disable obfuscation for all other classes
-keepnames class !android.support.v7.view.menu.**, ** { *; }