Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Keep all Retrofit's generic signature of return types (#394)
Browse files Browse the repository at this point in the history
* Remove rules for Call & Response

* Remove rules for Continuation

* Revert "Remove rules for Continuation"

This reverts commit 1c34d38.

* allowoptimization
  • Loading branch information
Goooler authored May 6, 2023
1 parent 5b380e9 commit 637b391
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gradle/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@
-keep,allowobfuscation,allowshrinking class io.goooler.demoapp.common.base.binding.BaseBindingActivity
-keep,allowobfuscation,allowshrinking class * extends io.goooler.demoapp.common.base.binding.BaseBindingActivity
# TODO: Waiting for new retrofit release to remove these rules
-keep,allowobfuscation,allowshrinking interface retrofit2.Call
-keep,allowobfuscation,allowshrinking class retrofit2.Response
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
-if interface * { @retrofit2.http.* public *** *(...); }
-keep,allowoptimization,allowshrinking,allowobfuscation class <3>
-keep,allowoptimization,allowshrinking,allowobfuscation class kotlin.coroutines.Continuation

0 comments on commit 637b391

Please sign in to comment.