diff --git a/libraries/network/build.gradle.kts b/libraries/network/build.gradle.kts index 20f75091d9..faabe91a1c 100644 --- a/libraries/network/build.gradle.kts +++ b/libraries/network/build.gradle.kts @@ -13,12 +13,6 @@ plugins { android { namespace = "io.element.android.libraries.network" - - buildTypes { - release { - consumerProguardFiles("consumer-rules.pro") - } - } } setupDependencyInjection() diff --git a/libraries/network/consumer-rules.pro b/libraries/network/consumer-rules.pro deleted file mode 100644 index 1026dca840..0000000000 --- a/libraries/network/consumer-rules.pro +++ /dev/null @@ -1,9 +0,0 @@ -# From https://github.com/square/retrofit/issues/3751#issuecomment-1192043644 -# Keep generic signature of Call, Response (R8 full mode strips signatures from non-kept items). --keep,allowobfuscation,allowshrinking interface retrofit2.Call --keep,allowobfuscation,allowshrinking class retrofit2.Response - -# With R8 full mode generic signatures are stripped for classes that are not -# kept. Suspend functions are wrapped in continuations where the type argument -# is used. --keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation