From b5e91097ab48d56edcc8908bd0f2018ee4256bde Mon Sep 17 00:00:00 2001 From: jmir1 Date: Fri, 28 May 2021 23:36:41 +0200 Subject: [PATCH] fix external player issues with r8 --- app/build.gradle.kts | 2 +- app/proguard-rules.pro | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 08514edfd9..c776c63ecd 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -29,7 +29,7 @@ android { targetSdkVersion(AndroidConfig.targetSdk) testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" versionCode = 61 - versionName = "0.10.12.3-mi" + versionName = "0.10.12.4-mi" buildConfigField("String", "COMMIT_COUNT", "\"${getCommitCount()}\"") buildConfigField("String", "COMMIT_SHA", "\"${getGitSha()}\"") diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index a5ec8c27e7..da3ce1ec3b 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -6,6 +6,7 @@ -keep,allowoptimization class android.content.** { *; } -keep,allowoptimization class kotlinx.coroutines.** { *; } -keep,allowoptimization class uy.kohesive.injekt.** { *; } +-keep,allowoptimization class android.test.base.** { *; } -keep,allowoptimization class kotlin.** { public protected *; } -keep,allowoptimization class okhttp3.** { public protected *; } -keep,allowoptimization class okio.** { public protected *; }