2015-04-16 21:38:02 +02:00
|
|
|
# Add project specific ProGuard rules here.
|
|
|
|
# By default, the flags in this file are appended to flags specified
|
|
|
|
# in /Users/mariotaku/Tools/android-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 *;
|
|
|
|
#}
|
2016-03-29 12:20:20 +02:00
|
|
|
|
|
|
|
#-dontobfuscate
|
2015-05-04 19:36:15 +02:00
|
|
|
|
|
|
|
-dontwarn sun.net.spi.**
|
|
|
|
-dontwarn java.nio.file.**
|
|
|
|
-dontwarn org.codehaus.mojo.**
|
2016-02-07 15:09:45 +01:00
|
|
|
-dontwarn com.makeramen.roundedimageview.**
|
2016-03-29 12:20:20 +02:00
|
|
|
-dontwarn com.squareup.haha.**
|
|
|
|
-dontwarn com.google.android.gms.**
|
|
|
|
-dontwarn com.google.android.youtube.**
|
|
|
|
-dontwarn jnamed**
|
|
|
|
-dontwarn com.bluelinelabs.logansquare.**
|
2016-02-07 15:09:45 +01:00
|
|
|
|
|
|
|
-keepattributes *Annotation*
|
2016-03-18 17:04:03 +01:00
|
|
|
-keepattributes EnclosingMethod
|
2015-05-04 19:36:15 +02:00
|
|
|
|
|
|
|
# https://github.com/bluelinelabs/LoganSquare
|
|
|
|
-keep class com.bluelinelabs.logansquare.** { *; }
|
|
|
|
-keep @com.bluelinelabs.logansquare.annotation.JsonObject class *
|
|
|
|
-keep class **$$JsonObjectMapper { *; }
|
|
|
|
|
|
|
|
# http://square.github.io/otto/
|
|
|
|
-keepclassmembers class ** {
|
|
|
|
@com.squareup.otto.Subscribe public *;
|
|
|
|
@com.squareup.otto.Produce public *;
|
|
|
|
}
|
|
|
|
|
2016-03-29 12:20:20 +02:00
|
|
|
-keepclassmembers class org.mariotaku.twidere.activity.BrowserSignInActivity$InjectorJavaScriptInterface {
|
2016-02-07 15:09:45 +01:00
|
|
|
public *;
|
2016-03-29 05:09:26 +02:00
|
|
|
}
|
|
|
|
|
2016-03-29 12:20:20 +02:00
|
|
|
# Fuck shitsung http://stackoverflow.com/a/34896262/859190
|
|
|
|
# ... and fuck xiaomi http://crashes.to/s/675ac9aff5e
|
|
|
|
-keep class !android.support.v7.view.menu.MenuBuilder, !org.apache.commons.** { *; }
|