未验证 提交 f1ec5c2f 编写于 作者: D Dustin Lam 提交者: GitHub

Merge pull request #825 from android/dlam/benchmark-buildtype

Set testBuildType = "release" for benchmarks
......@@ -20,13 +20,17 @@ android {
testInstrumentationRunner "androidx.benchmark.junit4.AndroidBenchmarkRunner"
}
testBuildType = "release"
buildTypes {
debug {
debuggable false
release {
isDefault = true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'benchmark-proguard-rules.pro'
signingConfig signingConfigs.debug
}
}
kotlinOptions {
jvmTarget = "1.8"
}
......
......@@ -19,11 +19,15 @@ android {
testInstrumentationRunner "androidx.benchmark.junit4.AndroidBenchmarkRunner"
}
testBuildType = "release"
buildTypes {
debug {
release {
isDefault = true
debuggable false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'benchmark-proguard-rules.pro'
signingConfig signingConfigs.debug
}
}
compileOptions {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册