diff --git a/app/build.gradle.kts b/app/build.gradle.kts index a8db108..cd7d8a8 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -12,14 +12,14 @@ android { minSdk = 24 targetSdk = 34 versionCode = 20240928 - versionName = "1.0-beta" + versionName = "1.0.1-beta" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { - isMinifyEnabled = false + isMinifyEnabled = true proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 38e4a8a..bae2621 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -26,3 +26,5 @@ -keep class com.hjq.window.** {*;} # simplecityapps.recyclerview.fastscroll -keep class com.simplecityapps.** {*;} + # 避免 Gson 反序列化失败 +-keep class pansong291.piano.wizard.entity.** {*;}