Skip to content

Instantly share code, notes, and snippets.

@kosiara
Last active September 1, 2018 10:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kosiara/6e2b0dffe216ff3e477428640d9a09da to your computer and use it in GitHub Desktop.
Save kosiara/6e2b0dffe216ff3e477428640d9a09da to your computer and use it in GitHub Desktop.
proguard rules for Twitter UI
# 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