Skip to content

Commit 56ad29a

Browse files
authored
Bump Benchmark Gradle Plugin to v1.1.1 (simpledotorg#4335)
* Bump Benchmark Gradle Plugin to v1.1.1 * Set test build type to debug * Update CHANGELOG
1 parent 93145ae commit 56ad29a

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- Bump Sentry Gradle Plugin to v3.3.0
1010
- Bump leakcanary to v2.10
1111
- Replace Tamil Nadu app logo and illustrations with DPH logo
12+
- Bump Benchmark Gradle Plugin to v1.1.1
1213

1314
## 2022-11-14-8505
1415

app/build.gradle.kts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ android {
9999
// strips debug symbols from the APK.
100100
ndkVersion = androidNdkVersion
101101

102+
// Benchmark Gradle Plugin sets test build type as release, so it doesn't generate debug Android tasks.
103+
// Since we run Android tests on debug builds. We are setting it to debug.
104+
testBuildType = "debug"
105+
102106
defaultConfig {
103107
applicationId = "org.simple.clinic"
104108
minSdk = minSdkVersion
@@ -159,8 +163,8 @@ android {
159163
isDebuggable = false
160164
isMinifyEnabled = runProguard.toBoolean()
161165
isShrinkResources = runProguard.toBoolean()
162-
if(maestroTests.toBoolean()) {
163-
signingConfig = getByName("debug").signingConfig
166+
if (maestroTests.toBoolean()) {
167+
signingConfig = getByName("debug").signingConfig
164168
}
165169
}
166170
}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ zxing = "com.google.zxing:core:3.3.3"
186186

187187
apache-commons-math = "org.apache.commons:commons-math3:3.6.1"
188188

189-
benchmark-gradle-plugin = "androidx.benchmark:benchmark-gradle-plugin:1.0.0"
189+
benchmark-gradle-plugin = "androidx.benchmark:benchmark-gradle-plugin:1.1.1"
190190

191191
[bundles]
192192
androidx-camera = ["androidx-camera-core", "androidx-camera-camera2", "androidx-camera-view", "androidx-camera-lifecycle"]

0 commit comments

Comments
 (0)