Use a more generic comment on -keep proguard rules

This commit is contained in:
Daniel Martí 2015-08-29 21:42:50 -07:00
parent dc46bc2e84
commit 47352eddd0

View File

@ -10,11 +10,10 @@
-dontnote android.support.**
-dontnote **ILicensingService
# The nature of the Java security suite implementations are that they use a
# lot of reflection to instantiate classes. The end result is that proguard
# excludes classes which may be required, depending on the security algorithms
# required by certain certificates.
# Reference: https://gitlab.com/fdroid/fdroidclient/issues/88
# These libraries are known to break if minification is enabled on them. They
# use reflection to instantiate classes, for example. If the keep flags are
# removed, proguard will strip classes which are required, which may result in
# crashes.
-keep class kellinwood.** {*;}
-keep class javax.jmdns.** {*;}
-keep class org.spongycastle.** {*;}