Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ProGuard rules to documentation #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,3 +255,14 @@ sources for merge hells. Feather avoids the need for writing such factories - by
internally: When an instance of A is injected, Feather calls A's constructor with the necessary arguments - an
instance of B. That instance of B is created the same way \- a simple recursion, this time with no further dependencies \- and the instance of A is created.

##### ProGuard
If you are using ProGuard in your project add the following lines to your configuration file:
```
#feather
-keepclassmembers,allowobfuscation class * {
@javax.inject.* *;
<init>();
}
-keep class org.codejargon.feather.* { *; }
-keep class javax.inject.* { *; }
```