mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-13 21:50:30 -06:00
48 lines
1.7 KiB
Prolog
48 lines
1.7 KiB
Prolog
|
# Add project specific ProGuard rules here.
|
||
|
# By default, the flags in this file are appended to flags specified
|
||
|
# in /Users/wangchao/Work/android-sdk/sdk/tools/proguard/proguard-android.txt
|
||
|
# You can edit the include path and order by changing the proguardFiles
|
||
|
# directive in build.gradle.
|
||
|
#
|
||
|
# For more details, see
|
||
|
# http://developer.android.com/guide/developing/tools/proguard.html
|
||
|
|
||
|
# Add any project specific keep options here:
|
||
|
|
||
|
# 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 *;
|
||
|
#}
|
||
|
-dontwarn im.wangchao.**
|
||
|
-dontwarn okio.**
|
||
|
-dontwarn javax.annotation.Nullable
|
||
|
-dontwarn javax.annotation.ParametersAreNonnullByDefault
|
||
|
-keep class im.wangchao.** { *; }
|
||
|
-keep class **_HttpBinder { *; }
|
||
|
-keepclasseswithmembernames class * {
|
||
|
@im.wangchao.* <fields>;
|
||
|
}
|
||
|
-keepclasseswithmembernames class * {
|
||
|
@im.wangchao.* <methods>;
|
||
|
}
|
||
|
-keepclassmembers class * implements java.io.Serializable {
|
||
|
static final long serialVersionUID;
|
||
|
private static final java.io.ObjectStreamField[] serialPersistentFields;
|
||
|
!static !transient <fields>;
|
||
|
private void writeObject(java.io.ObjectOutputStream);
|
||
|
private void readObject(java.io.ObjectInputStream);
|
||
|
java.lang.Object writeReplace();
|
||
|
java.lang.Object readResolve();
|
||
|
}
|
||
|
# okhttp
|
||
|
-dontwarn okhttp3.**
|
||
|
-dontwarn okio.**
|
||
|
-dontwarn javax.annotation.**
|
||
|
-dontwarn org.conscrypt.**
|
||
|
# A resource is loaded with a relative path so the package of this class must be preserved.
|
||
|
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
|
||
|
|
||
|
# If you do not use Rx:
|
||
|
-dontwarn rx.**
|