mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-23 16:37:30 +00:00
Make ProGuard with with Dagger
This commit is contained in:
parent
bea26e83da
commit
cbebc040cc
14
proguard.cfg
14
proguard.cfg
@ -17,6 +17,20 @@
|
||||
|
||||
-keep class com.google.protobuf.** { *; }
|
||||
|
||||
## Dagger
|
||||
|
||||
-dontwarn dagger.internal.codegen.**
|
||||
-keepclassmembers class * {
|
||||
@javax.inject.* *;
|
||||
@dagger.* *;
|
||||
<init>();
|
||||
}
|
||||
-keep class dagger.* { *; }
|
||||
-keep class javax.inject.* { *; }
|
||||
-keep class * extends dagger.internal.Binding
|
||||
-keep class * extends dagger.internal.ModuleAdapter
|
||||
-keep class * extends dagger.internal.StaticInjection
|
||||
|
||||
## GSON
|
||||
|
||||
# removes such information by default, so configure it to keep all of it.
|
||||
|
Loading…
x
Reference in New Issue
Block a user