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 {
create("benchmark") {
signingConfig = signingConfigs.getByName("debug")
matchingFallbacks += listOf("release")
signingConfig = signingConfigs["debug"]
matchingFallbacks += "release"
isDebuggable = false
}
}

View file

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