File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
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
You can’t perform that action at this time.
0 commit comments