forked from square/retrofit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add shrinker rules for Guava converter and adapter
- Loading branch information
1 parent
3f2230a
commit 2ad9b7d
Showing
2 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
retrofit-adapters/guava/src/main/resources/META-INF/proguard/retrofit2-guava-adapter.pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Keep generic signature of ListenableFuture (R8 full mode strips signatures from non-kept items). | ||
-keep,allowobfuscation,allowshrinking class com.google.common.util.concurrent.ListenableFuture |
2 changes: 2 additions & 0 deletions
2
retrofit-converters/guava/src/main/resources/META-INF/proguard/retrofit2-guava-converter.pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Keep generic signature of Optional (R8 full mode strips signatures from non-kept items). | ||
-keep,allowobfuscation,allowshrinking class com.google.common.base.Optional |