Created
November 30, 2017 19:22
-
-
Save kingargyle/e23fcab92922f7c95347fe25a5b28094 to your computer and use it in GitHub Desktop.
Toothpick Reflection Free Proguard Rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Note that if we could use kapt to generate registries, possible to get rid of this | |
-keepattributes Annotation | |
# Do not obfuscate classes with Injected Constructors | |
-keepclasseswithmembernames class * { | |
@javax.inject.Inject (...); | |
} | |
# Do not obfuscate classes with Injected Fields | |
-keepclasseswithmembernames class * { | |
@javax.inject.Inject ; | |
} | |
# Do not obfuscate classes with Injected Methods | |
-keepclasseswithmembernames class * { | |
@javax.inject.Inject ; | |
} | |
-keep @android.support.annotation.Keep class * | |
-keep @javax.inject.Singleton class * | |
-dontwarn javax.inject.** | |
-dontwarn javax.annotation.** | |
-keep class **$$Factory { *; } | |
-keep class **$$MemberInjector { *; } | |
-adaptclassstrings | |
-keep class toothpick.** { *; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is missing the types: