Creating the benchmark build type on the modules as well.

This commit is contained in:
Vitor Pamplona 2024-01-06 10:53:54 -05:00
parent f5f43c5094
commit f877b6ff68
2 changed files with 10 additions and 1 deletions

View File

@ -37,7 +37,12 @@ android {
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "benchmark-proguard-rules.pro" proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "benchmark-proguard-rules.pro"
} }
release { release {
minifyEnabled true
}
create("benchmark") {
isDefault = true isDefault = true
initWith(getByName("release"))
signingConfig signingConfigs.debug
} }
} }
} }

View File

@ -18,9 +18,13 @@ android {
buildTypes { buildTypes {
release { release {
minifyEnabled false minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
} }
create("benchmark") {
initWith(getByName("release"))
signingConfig signingConfigs.debug
}
} }
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_17 sourceCompatibility JavaVersion.VERSION_17