Skip to content

Commit

Permalink
Merge pull request #20923 from wordpress-mobile/renovate/gradle.ext.m…
Browse files Browse the repository at this point in the history
…easurebuildsversion

Update plugin com.automattic.android.measure-builds to v3
  • Loading branch information
wzieba authored Jul 10, 2024
2 parents 502a11a + 81a1e3b commit 1460fef
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import com.automattic.android.measure.MeasureBuildsExtension
import com.automattic.android.measure.reporters.InternalA8cCiReporter
import com.automattic.android.measure.reporters.SlowSlowTasksMetricsReporter
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
Expand Down Expand Up @@ -119,8 +120,14 @@ ext {

measureBuilds {
enable = findProperty('measureBuildsEnabled')?.toBoolean() ?: false
automatticProject = MeasureBuildsExtension.AutomatticProject.WordPress
authToken = findProperty('appsMetricsToken')
onBuildMetricsReadyListener { report ->
SlowSlowTasksMetricsReporter.report(report)
InternalA8cCiReporter.reportBlocking(
report,
"wordpress",
findProperty('appsMetricsToken')
)
}
attachGradleScanId = System.getenv('CI')?.toBoolean() ?: false
}

Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pluginManagement {
gradle.ext.daggerVersion = "2.50"
gradle.ext.detektVersion = '1.23.0'
gradle.ext.violationCommentsVersion = '1.70.0'
gradle.ext.measureBuildsVersion = '2.1.2'
gradle.ext.measureBuildsVersion = '3.1.0'
gradle.ext.koverVersion = '0.7.5'
gradle.ext.dependencyAnalysisVersion = '1.28.0'

Expand Down

0 comments on commit 1460fef

Please sign in to comment.