Creates a benchmark release type to avoid going back and forth with signing keys on the release

This commit is contained in:
Vitor Pamplona
2024-01-06 10:48:11 -05:00
parent ec867ae8a2
commit f5f43c5094
+4 -1
View File
@@ -88,7 +88,6 @@ android {
buildTypes { buildTypes {
release { release {
//signingConfig signingConfigs.debug
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), 'proguard-rules.pro' proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), 'proguard-rules.pro'
minifyEnabled true minifyEnabled true
resValue "string", "app_name", "@string/app_name_release" resValue "string", "app_name", "@string/app_name_release"
@@ -98,6 +97,10 @@ android {
versionNameSuffix '-DEBUG' versionNameSuffix '-DEBUG'
resValue "string", "app_name", "@string/app_name_debug" resValue "string", "app_name", "@string/app_name_debug"
} }
create("benchmark") {
initWith(getByName("release"))
signingConfig signingConfigs.debug
}
} }
flavorDimensions = ["channel"] flavorDimensions = ["channel"]