Skip to content

Commit

Permalink
Beginning to remove benchmarking to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tresat committed Apr 4, 2024
1 parent cb50f5b commit 07d554b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
18 changes: 9 additions & 9 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ plugins {
id("jacoco")
alias(libs.plugins.nowinandroid.android.application.firebase)
id("com.google.android.gms.oss-licenses-plugin")
alias(libs.plugins.baselineprofile)
//alias(libs.plugins.baselineprofile)
alias(libs.plugins.roborazzi)
}

Expand All @@ -45,7 +45,7 @@ android {
debug {
applicationIdSuffix = NiaBuildType.DEBUG.applicationIdSuffix
}
val release = getByName("release") {
getByName("release") {
isMinifyEnabled = true
applicationIdSuffix = NiaBuildType.RELEASE.applicationIdSuffix
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
Expand All @@ -55,7 +55,7 @@ android {
// TODO: Abstract the signing configuration to a separate file to avoid hardcoding this.
signingConfig = signingConfigs.getByName("debug")
// Ensure Baseline Profile is fresh for release builds.
baselineProfile.automaticGenerationDuringBuild = true
//baselineProfile.automaticGenerationDuringBuild = true
}
}

Expand Down Expand Up @@ -120,14 +120,14 @@ dependencies {
androidTestImplementation(libs.accompanist.testharness)
androidTestImplementation(libs.hilt.android.testing)

baselineProfile(projects.benchmarks)
//baselineProfile(projects.benchmarks)
}

baselineProfile {
// Don't build on every iteration of a full assemble.
// Instead enable generation directly for the release build variant.
automaticGenerationDuringBuild = false
}
//baselineProfile {
// // Don't build on every iteration of a full assemble.
// // Instead enable generation directly for the release build variant.
// automaticGenerationDuringBuild = false
//}

dependencyGuard {
configuration("prodReleaseRuntimeClasspath")
Expand Down
4 changes: 4 additions & 0 deletions core/common/build.gradle.something
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,9 @@ conventionalHiltJacocoAndroidLibrary {
// testImplementation(libs.turbine)
}
}

release {

}
}
}

0 comments on commit 07d554b

Please sign in to comment.