File tree 2 files changed +11
-4
lines changed
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
- import com.automattic.android.measure.MeasureBuildsExtension
1
+ import com.automattic.android.measure.reporters.InternalA8cCiReporter
2
+ import com.automattic.android.measure.reporters.SlowSlowTasksMetricsReporter
2
3
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
3
4
4
5
plugins {
@@ -119,8 +120,14 @@ ext {
119
120
120
121
measureBuilds {
121
122
enable = findProperty(' measureBuildsEnabled' )?. toBoolean() ?: false
122
- automatticProject = MeasureBuildsExtension.AutomatticProject.WordPress
123
- authToken = findProperty(' appsMetricsToken' )
123
+ onBuildMetricsReadyListener { report ->
124
+ SlowSlowTasksMetricsReporter . report(report)
125
+ InternalA8cCiReporter . reportBlocking(
126
+ report,
127
+ " wordpress" ,
128
+ findProperty(' appsMetricsToken' )
129
+ )
130
+ }
124
131
attachGradleScanId = System . getenv(' CI' )?. toBoolean() ?: false
125
132
}
126
133
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ pluginManagement {
8
8
gradle. ext. daggerVersion = " 2.50"
9
9
gradle. ext. detektVersion = ' 1.23.0'
10
10
gradle. ext. violationCommentsVersion = ' 1.70.0'
11
- gradle. ext. measureBuildsVersion = ' 2 .1.2 '
11
+ gradle. ext. measureBuildsVersion = ' 3 .1.0 '
12
12
gradle. ext. koverVersion = ' 0.7.5'
13
13
gradle. ext. dependencyAnalysisVersion = ' 1.28.0'
14
14
You can’t perform that action at this time.
0 commit comments