refactor: simplify build type configuration

This commit is contained in:
Harsh Shandilya 2022-11-29 20:43:39 +05:30
parent 2b2010a22c
commit 8d6c567c84
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -33,8 +33,8 @@ android {
} }
buildTypes { buildTypes {
create("benchmark") { create("benchmark") {
signingConfig = signingConfigs.getByName("debug") signingConfig = signingConfigs["debug"]
matchingFallbacks += listOf("release") matchingFallbacks += "release"
isDebuggable = false isDebuggable = false
} }
} }

View file

@ -20,8 +20,8 @@ android {
buildTypes { buildTypes {
create("benchmark") { create("benchmark") {
isDebuggable = true isDebuggable = true
signingConfig = getByName("debug").signingConfig signingConfig = signingConfigs["debug"]
matchingFallbacks += listOf("release") matchingFallbacks += "release"
} }
} }