From 39394b302809f80c1e089a194862094d16fc3eca Mon Sep 17 00:00:00 2001 From: John Carlson Date: Fri, 9 Dec 2016 00:34:50 -0600 Subject: [PATCH] Okio proguard rules link --- website/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/index.html b/website/index.html index 85358cfbfc..fa15e43f00 100644 --- a/website/index.html +++ b/website/index.html @@ -171,7 +171,7 @@

Gradle

Retrofit requires at minimum Java 7 or Android 2.3.

ProGuard

-

If you are using Proguard in your project add the following lines to your configuration:

+

If you are using ProGuard in your project add the following lines to your configuration:

 # Platform calls Class.forName on types which do not exist on Android to determine platform.
 -dontnote retrofit2.Platform
@@ -182,6 +182,7 @@ 

ProGuard

# Retain declared checked exceptions for use by a Proxy instance. -keepattributes Exceptions
+

Retrofit uses Okio under the hood, so you may want to look at its ProGuard rules as well.