2018-10-29 21:49:42 +00:00
|
|
|
# Add project specific ProGuard rules here.
|
|
|
|
# You can control the set of applied configuration files using the
|
|
|
|
# proguardFiles setting in build.gradle.
|
|
|
|
#
|
|
|
|
# For more details, see
|
|
|
|
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
|
|
|
|
|
|
# If your project uses WebView with JS, uncomment the following
|
|
|
|
# and specify the fully qualified class name to the JavaScript interface
|
|
|
|
# class:
|
|
|
|
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
|
|
|
# public *;
|
|
|
|
#}
|
|
|
|
|
|
|
|
# Uncomment this to preserve the line number information for
|
|
|
|
# debugging stack traces.
|
|
|
|
#-keepattributes SourceFile,LineNumberTable
|
|
|
|
|
|
|
|
# If you keep the line number information, uncomment this to
|
|
|
|
# hide the original source file name.
|
|
|
|
#-renamesourcefileattribute SourceFile
|
2018-12-10 23:19:28 +00:00
|
|
|
|
2019-02-11 21:21:24 +00:00
|
|
|
###### itextpdf & opencsv
|
|
|
|
-dontwarn java.awt.**
|
|
|
|
-dontwarn javax.security.**
|
|
|
|
-dontwarn java.beans.**
|
|
|
|
|
|
|
|
-dontwarn com.itextpdf.awt.**
|
|
|
|
-dontwarn javax.imageio.**
|
|
|
|
|
|
|
|
-keep class org.bouncycastle.**
|
|
|
|
-dontwarn org.bouncycastle.**
|
|
|
|
|
|
|
|
-keep class org.spongycastle.** { *; }
|
|
|
|
-dontwarn org.spongycastle.**
|
|
|
|
|
|
|
|
-keep class javax.xml.crypto.dsig.** { *; }
|
|
|
|
-dontwarn javax.xml.crypto.dsig.**
|
|
|
|
|
|
|
|
-keep class org.apache.jcp.xml.dsig.internal.dom.** { *; }
|
|
|
|
-dontwarn org.apache.jcp.xml.dsig.internal.dom.**
|
|
|
|
|
|
|
|
-keep class javax.xml.crypto.dom.** { *; }
|
|
|
|
-dontwarn javax.xml.crypto.dom.**
|
|
|
|
|
|
|
|
-keep class org.apache.xml.security.utils.** { *; }
|
|
|
|
-dontwarn org.apache.xml.security.utils.**
|
|
|
|
|
|
|
|
-keep class javax.xml.crypto.XMLStructure
|
|
|
|
-dontwarn javax.xml.crypto.XMLStructure
|
|
|
|
|
|
|
|
|
|
|
|
###### OkHttp
|
|
|
|
# JSR 305 annotations are for embedding nullability information.
|
|
|
|
-dontwarn javax.annotation.**
|
|
|
|
|
|
|
|
# A resource is loaded with a relative path so the package of this class must be preserved.
|
|
|
|
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
|
|
|
|
|
|
|
|
# Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
|
|
|
|
-dontwarn org.codehaus.mojo.animal_sniffer.*
|
|
|
|
|
|
|
|
# OkHttp platform used only on JVM and when Conscrypt dependency is available.
|
|
|
|
-dontwarn okhttp3.internal.platform.ConscryptPlatform
|
|
|
|
|
|
|
|
|
|
|
|
###### bitcoinj
|
2018-12-14 15:54:02 +00:00
|
|
|
-dontwarn org.bitcoinj.store**
|
2019-02-11 21:21:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
###### ???
|
2018-12-14 21:23:12 +00:00
|
|
|
-dontwarn org.slf4j.**
|
|
|
|
|
2019-02-11 21:21:24 +00:00
|
|
|
|
|
|
|
###### Firabase Crashlytics
|
2018-12-14 21:23:12 +00:00
|
|
|
-keepattributes *Annotation*
|
|
|
|
-keepattributes SourceFile,LineNumberTable
|
|
|
|
-keep public class * extends java.lang.Exception
|