Skip to content

Commit a660904

Browse files
authored
Update the ProGuard snippet in the README
1 parent 7b100a1 commit a660904

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,19 +244,19 @@ If you are using ProGuard, the following config is required:
244244
245245
# Config for OkHttp and Okio
246246
-dontwarn okio.**
247-
-dontwarn javax.annotation.Nullable
248-
-dontwarn javax.annotation.ParametersAreNonnullByDefault
249-
-dontwarn javax.annotation.concurrent.GuardedBy
247+
-dontwarn javax.annotation.**
250248
251249
# Config for Retrofit
252250
-dontnote retrofit2.Platform
253251
-dontwarn retrofit2.Platform$Java8
254-
-keepattributes Signature
255-
-keepattributes Exceptions
256252
257253
-keepclasseswithmembers class * {
258254
@retrofit2.http.* <methods>;
259255
}
256+
257+
-keepclasseswithmembers interface * {
258+
@retrofit2.http.* <methods>;
259+
}
260260
```
261261

262262
### More

0 commit comments

Comments
 (0)