Last active
September 1, 2018 10:44
-
-
Save kosiara/6e2b0dffe216ff3e477428640d9a09da to your computer and use it in GitHub Desktop.
proguard rules for Twitter UI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Twitter core rules | |
-keepattributes *Annotation* #GSON | |
-dontwarn java.nio.file.** #Okio | |
-dontwarn org.codehaus.mojo.animal_sniffer.** #Okio | |
-dontwarn javax.annotation.* #Okio | |
-dontwarn javax.annotation.concurrent.* #Okio | |
-dontnote retrofit2.Platform #Retrofit 2 | |
-dontnote retrofit2.Platform$IOS$MainThreadExecutor #Retrofit 2 | |
-dontwarn retrofit2.Platform$Java8 #Retrofit 2 | |
-keepattributes Signature #Retrofit 2 | |
-keepattributes Exceptions #Retrofit 2 | |
-keepclasseswithmembers class * { #Retrofit 2 | |
@retrofit2.http.* <methods>; #Retrofit 2 | |
} #Retrofit 2 | |
# Twitter ui rules | |
-dontwarn com.squareup.okhttp.** #Picasso | |
#-keep class com.twitter.sdk.android.tweetui.** { *; } #Twitter | |
#-keep public class com.twitter.sdk.android.tweetui.** { *; } #Twitter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment