mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-25 06:57:48 +00:00
enable proguard
// FREEBIE
This commit is contained in:
31
proguard.cfg
Normal file
31
proguard.cfg
Normal file
@@ -0,0 +1,31 @@
|
||||
-dontobfuscate
|
||||
|
||||
## Support
|
||||
|
||||
-keep class android.support.v4.app.** { *; }
|
||||
-keep interface android.support.v4.app.** { *; }
|
||||
|
||||
-keep class android.support.v7.internal.** { *; }
|
||||
-keep interface android.support.v7.internal.** { *; }
|
||||
-keep class android.support.v7.** { *; }
|
||||
-keep interface android.support.v7.** { *; }
|
||||
-keep public class * extends android.support.v7.app.ActionBarActivity { *; }
|
||||
-keep class android.support.v7.widget.** { *; }
|
||||
-keepattributes *Annotation*
|
||||
|
||||
## Protobuf
|
||||
|
||||
-keep class com.google.protobuf.** { *; }
|
||||
|
||||
## GSON
|
||||
|
||||
# removes such information by default, so configure it to keep all of it.
|
||||
-keepattributes Signature
|
||||
|
||||
# For using GSON @Expose annotation
|
||||
-keepattributes *Annotation*
|
||||
|
||||
# Gson specific classes
|
||||
-keep class sun.misc.Unsafe { *; }
|
||||
#-keep class com.google.gson.stream.** { *; }
|
||||
|
Reference in New Issue
Block a user