Skip to content

Commit

Permalink
修复 Gson 反序列化错误
Browse files Browse the repository at this point in the history
  • Loading branch information
pansong291 committed Sep 28, 2024
1 parent 85c3e71 commit 66601fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@
-keep class com.hjq.window.** {*;}
# simplecityapps.recyclerview.fastscroll
-keep class com.simplecityapps.** {*;}
# 避免 Gson 反序列化失败
-keep class pansong291.piano.wizard.entity.** {*;}

0 comments on commit 66601fe

Please sign in to comment.