Created
May 25, 2017 22:09
-
-
Save eddieberklee/27030837c72cd506d4f4bdd9b8b2a63f to your computer and use it in GitHub Desktop.
If ButterKnife isn't working for you...
This file contains hidden or 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
| // app/build.gradle | |
| // place this before other dependencies | |
| compile 'com.jakewharton:butterknife:8.6.0' | |
| annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0' |
This file contains hidden or 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
| -keep class butterknife.** { *; } | |
| -dontwarn butterknife.** | |
| -keep class **$$ViewInjector { *; } | |
| -keep class **$$ViewBinder { *; } | |
| -keep class **$ViewHolder { *; } | |
| -keepclasseswithmembernames class * { @butterknife.* <methods>; } | |
| -keepclasseswithmembernames class * { @butterknife.* <fields>; } | |
| -keep class butterknife.**$Finder { *; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment