Make ProGuard with with Dagger
This commit is contained in:
parent
bea26e83da
commit
cbebc040cc
1 changed files with 14 additions and 0 deletions
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…
Add table
Reference in a new issue