From 058b6d47e580b56aca1ef567f49626e531faa064 Mon Sep 17 00:00:00 2001 From: Mike Chetverikov Date: Thu, 14 Sep 2017 11:52:46 +0700 Subject: [PATCH] ProGuard rules for documentation --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index b721212..f119ffe 100644 --- a/README.md +++ b/README.md @@ -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.* *; + (); +} +-keep class org.codejargon.feather.* { *; } +-keep class javax.inject.* { *; } +```