Skip to content

Commit

Permalink
disable minifyEnabled and shrinkResources options for Hilt R8 error [#1]
Browse files Browse the repository at this point in the history
- TODO: need to resolve this and change options `true`
  • Loading branch information
DokySp committed Sep 23, 2024
1 parent cf06ee6 commit ebd2c30
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,20 @@ subprojects {
getByName("debug") {
isMinifyEnabled = false
isShrinkResources = false
// TODO: signing
signingConfig = signingConfigs.getByName("debug")

}
getByName("release") {
isMinifyEnabled = true
isShrinkResources = true
// TODO: need to resolve for Hilt R8 error and change to `true`
isMinifyEnabled = false
isShrinkResources = false

proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
// TODO: change to release keystore
signingConfig = signingConfigs.getByName("debug")
}
}
}
Expand All @@ -77,6 +82,8 @@ subprojects {
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
// TODO: change to release keystore
signingConfig = signingConfigs.getByName("debug")
}
}
}
Expand Down

0 comments on commit ebd2c30

Please sign in to comment.