mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 19:57:04 +05:30
fix(build): set proguard files for all build types
Some cursed day you might be enabling R8 on debug builds
This commit is contained in:
parent
e700987d14
commit
29c0369d43
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,7 @@ class ApplicationPlugin : Plugin<Project> {
|
|||
}
|
||||
|
||||
buildTypes {
|
||||
named("release") {
|
||||
isMinifyEnabled = true
|
||||
all {
|
||||
setProguardFiles(
|
||||
listOf(
|
||||
"proguard-android-optimize.pro",
|
||||
|
@ -44,6 +43,7 @@ class ApplicationPlugin : Plugin<Project> {
|
|||
)
|
||||
)
|
||||
}
|
||||
named("release") { isMinifyEnabled = true }
|
||||
named("debug") {
|
||||
applicationIdSuffix = ".debug"
|
||||
versionNameSuffix = "-debug"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue