Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kardeslik committed Jan 27, 2015
1 parent a998b0f commit 0dd50d2
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,29 @@ Wasp.Image.from(url)
.load();
```

####ProGuard

If you are using ProGuard you should add the following options to your configuration file:
Note: Other than following options you may also need to keep your network related model classes.

```
#Wasp
-keepattributes *Annotation*
-keep class com.orhanobut.wasp.** { *; }
-keepclassmembernames interface * {
@com.orhanobut.wasp.http.* <methods>;
}
#Gson
-keep class com.google.gson.** { *; }
-keepattributes Signature
#OkHttp
-dontwarn com.squareup.okhttp.**
-dontwarn java.nio.file.*
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
```

####For more details, check the website
http://orhanobut.github.io/wasp/

Expand Down

0 comments on commit 0dd50d2

Please sign in to comment.