Skip to content

Commit

Permalink
Add ProGuard config to the website
Browse files Browse the repository at this point in the history
resolves square#117
  • Loading branch information
Marcin Kozinski committed Apr 8, 2015
1 parent bfeaaa5 commit 4b55a92
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,14 @@ <h4>Gradle</h4>
<pre class="prettyprint">
compile 'com.squareup.okhttp:okhttp-urlconnection:2.0.0'
compile 'com.squareup.okhttp:okhttp:2.0.0'
</pre>
<h4>ProGuard</h4>
<p>If you are using Proguard in your project add the following lines to your configuration:</p>
<pre class="prettyprint">
-dontwarn retrofit.**
-keep class retrofit.** { *; }
-keepattributes Signature
-keepattributes Exceptions
</pre>
<h3 id="contributing">Contributing</h3>
<p>If you would like to contribute code you can do so through GitHub by forking the repository and sending a pull request.</p>
Expand Down

0 comments on commit 4b55a92

Please sign in to comment.