Try fixing proguard config for nightly builds

This commit is contained in:
Jorge Martín 2024-08-11 09:55:24 +02:00
parent 20d02785f9
commit 92ec946ef0
2 changed files with 6 additions and 0 deletions

View file

@ -51,6 +51,7 @@ android {
register("nightly") {
isMinifyEnabled = true
consumerProguardFiles("consumer-proguard-rules.pro")
proguardFiles("proguard-rules.pro")
matchingFallbacks += listOf("release")
resValue(
type = "string",

View file

@ -0,0 +1,5 @@
# Used for unit tests
-dontwarn java.lang.invoke.StringConcatFactory
-keep class io.element.android.libraries.pushproviders.firebase.** { *; }