mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-18 16:25:27 +02:00
fix: Don't use release signing config for benchmarking
This commit is contained in:
parent
3f6fa9172c
commit
98965ec7b0
@ -90,9 +90,16 @@ android {
|
||||
signingConfig = signingConfigs.getByName("release")
|
||||
}
|
||||
create("benchmark") {
|
||||
initWith(buildTypes.getByName("release"))
|
||||
initWith(getByName("debug"))
|
||||
isDebuggable = false
|
||||
isMinifyEnabled = true
|
||||
isShrinkResources = true
|
||||
applicationIdSuffix = ""
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
)
|
||||
matchingFallbacks.add("release")
|
||||
signingConfig = signingConfigs.getByName("debug")
|
||||
// Only use benchmark proguard rules
|
||||
proguardFiles("benchmark-rules.pro")
|
||||
isMinifyEnabled = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user