File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "project_name": "WordPress-Android",
33 "branch": "trunk",
4- "pinned_hash": "91e71c2268b4df54591ff9cedbfd03ac93ba865d ",
4+ "pinned_hash": "715a5a119a334ec1ef16b5a6bd77c52094144813 ",
55 "files_to_copy": [
66 {
77 "file": "android/WPAndroid/gradle.properties",
Original file line number Diff line number Diff line change 1+ import com.automattic.android.measure.MeasureBuildsExtension
12import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
23
34plugins {
45 id " io.gitlab.arturbosch.detekt"
6+ id ' com.automattic.android.measure-builds'
57 id " androidx.navigation.safeargs.kotlin" apply false
68 id " com.android.library" apply false
79 id ' com.google.gms.google-services' apply false
@@ -106,6 +108,13 @@ ext {
106108 wordPressLintVersion = ' 2.0.0'
107109}
108110
111+ measureBuilds {
112+ enable = findProperty(' measureBuildsEnabled' )?. toBoolean() ?: false
113+ automatticProject = MeasureBuildsExtension.AutomatticProject.WordPress
114+ authToken = findProperty(' appsMetricsToken' )
115+ attachGradleScanId = System . getenv(' CI' )?. toBoolean() ?: false
116+ }
117+
109118allprojects {
110119 apply plugin : ' checkstyle'
111120 apply plugin : ' io.gitlab.arturbosch.detekt'
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ pluginManagement {
77 gradle. ext. daggerVersion = " 2.46.1"
88 gradle. ext. detektVersion = ' 1.23.0'
99 gradle. ext. violationCommentsVersion = ' 1.67'
10+ gradle. ext. measureBuildsVersion = ' 2.0.3'
1011
1112 plugins {
1213 id " org.jetbrains.kotlin.android" version gradle. ext. kotlinVersion
@@ -22,12 +23,14 @@ pluginManagement {
2223 id " io.sentry.android.gradle" version gradle. ext. sentryVersion
2324 id " io.gitlab.arturbosch.detekt" version gradle. ext. detektVersion
2425 id " se.bjurr.violations.violation-comments-to-github-gradle-plugin" version gradle. ext. violationCommentsVersion
26+ id ' com.automattic.android.measure-builds' version gradle. ext. measureBuildsVersion
2527 }
2628 repositories {
2729 maven {
2830 url ' https://a8c-libs.s3.amazonaws.com/android'
2931 content {
3032 includeGroup " com.automattic.android"
33+ includeGroup " com.automattic.android.measure-builds"
3134 }
3235 }
3336 gradlePluginPortal()
You can’t perform that action at this time.
0 commit comments