Skip to content

Commit

Permalink
Fix #148: Settings not saving in release builds
Browse files Browse the repository at this point in the history
Optimization breaks nullability check in Settings.areAllSettingsNull()

Bump version: 1.4.0 (30) -> 1.4.1 (31)
  • Loading branch information
pilot51 committed Jan 2, 2025
1 parent 40bff04 commit f4e0797
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ android {
applicationId = "com.pilot51.voicenotify"
minSdk = 21
targetSdk = 34
versionName = "1.4.0"
versionCode = 30
versionName = "1.4.1"
versionCode = 31
vectorDrawables.useSupportLibrary = true
ksp {
arg("room.schemaLocation", "$projectDir/schemas")
Expand Down Expand Up @@ -86,13 +86,6 @@ android {
getByName("release") {
signingConfig = signingConfigs.getByName("release")
versionNameSuffix = " [$gitCommitHash]"
@Suppress("UnstableApiUsage")
postprocessing {
isRemoveUnusedCode = true
isOptimizeCode = true
isShrinkResources = true
isObfuscate = false
}
}
getByName("debug") {
applicationIdSuffix = ".debug"
Expand Down

0 comments on commit f4e0797

Please sign in to comment.