diff --git a/proguard.cfg b/proguard.cfg index e9bb976d3f..7d568c6af3 100644 --- a/proguard.cfg +++ b/proguard.cfg @@ -17,6 +17,20 @@ -keep class com.google.protobuf.** { *; } +## Dagger + +-dontwarn dagger.internal.codegen.** +-keepclassmembers class * { + @javax.inject.* *; + @dagger.* *; + (); +} +-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.