Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,12 @@ baselineProfile {
dependencyGuard {
configuration("prodReleaseRuntimeClasspath")
}

tasks.configureEach {
if (name == "createProdNonMinifiedReleaseApkListingFileRedirect") {
val benchmarksProject = project.rootProject.findProject(":benchmarks")
benchmarksProject?.tasks?.matching {
it.name.contains("packageProdNonMinifiedRelease")
}?.let { dependsOn(it) }
}
}
Comment thread
vibhor-kulshrestha marked this conversation as resolved.
Outdated
2 changes: 1 addition & 1 deletion benchmarks/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ android {
defaultConfig {
minSdk = 28
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

testInstrumentationRunnerArguments["androidx.benchmark.enabledRules"] = "BaselineProfile"
Comment thread
vibhor-kulshrestha marked this conversation as resolved.
buildConfigField("String", "APP_BUILD_TYPE_SUFFIX", "\"\"")
}

Expand Down