From 98d252866e17beba7d9a4d094797e23c05ead6c1 Mon Sep 17 00:00:00 2001 From: jmir1 Date: Mon, 1 Jul 2024 17:22:13 +0200 Subject: [PATCH] fix(proguard): Don't optimize kotlin classes --- app/build.gradle.kts | 2 +- app/proguard-rules.pro | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index dc8e3655cc..24b32b7c86 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -22,7 +22,7 @@ android { applicationId = "xyz.jmir.tachiyomi.mi" versionCode = 124 - versionName = "0.16.4.0" + versionName = "0.16.4.1" buildConfigField("String", "COMMIT_COUNT", "\"${getCommitCount()}\"") buildConfigField("String", "COMMIT_SHA", "\"${getGitSha()}\"") diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 21f2ee22c1..c8b2f874dd 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -8,11 +8,9 @@ -keep,allowoptimization class android.content.** { *; } -keep,allowoptimization class uy.kohesive.injekt.** { public protected *; } -keep,allowoptimization class android.test.base.** { *; } --keep,allowoptimization class kotlin.** { public protected *; } +-keep class kotlin.** { public protected *; } -keep,allowoptimization class kotlinx.coroutines.** { public protected *; } -keep,allowoptimization class kotlinx.serialization.** { public protected *; } --keep,allowoptimization class kotlin.time.** { public protected *; } --keep class kotlin.text.** { public protected *; } -keep,allowoptimization class okhttp3.** { public protected *; } -keep,allowoptimization class okio.** { public protected *; } -keep,allowoptimization class org.jsoup.** { public protected *; }