Include all spongycastle classes when running proguard.

This increases the size of the .apk by ~800kb, which is clearly
undesirable. However, 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.

Fixes issue #88
This commit is contained in:
Peter Serwylo 2014-09-08 00:36:02 +09:30
parent cd0617d0f6
commit 785dd036d1

View File

@ -2,3 +2,12 @@
-dontwarn javax.naming.**
-dontnote android.support.**
-dontnote **ILicensingService
# This increases the size of the .apk by ~800kb, which is clearly
# undesirable. However, 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
-keep class org.spongycastle.**