mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Fix account provider change on nightly and release (#861)
* Use parallelMap (same code) * Add proguard rules. Fixes #818 * Rename file proguard-rules.pro to consumer-rules.pro for coherency. * Remove empty and non-referenced proguard files.
This commit is contained in:
@@ -20,6 +20,13 @@ plugins {
|
||||
|
||||
android {
|
||||
namespace = "io.element.android.libraries.network"
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
isMinifyEnabled = true
|
||||
consumerProguardFiles("consumer-rules.pro")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
anvil {
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user