File tree 4 files changed +13
-1
lines changed
4 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"project_name": "WordPress-Android",
3
3
"branch": "trunk",
4
- "pinned_hash": "91e71c2268b4df54591ff9cedbfd03ac93ba865d ",
4
+ "pinned_hash": "715a5a119a334ec1ef16b5a6bd77c52094144813 ",
5
5
"files_to_copy": [
6
6
{
7
7
"file": "android/WPAndroid/gradle.properties",
Original file line number Diff line number Diff line change
1
+ import com.automattic.android.measure.MeasureBuildsExtension
1
2
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2
3
3
4
plugins {
4
5
id " io.gitlab.arturbosch.detekt"
6
+ id ' com.automattic.android.measure-builds'
5
7
id " androidx.navigation.safeargs.kotlin" apply false
6
8
id " com.android.library" apply false
7
9
id ' com.google.gms.google-services' apply false
@@ -106,6 +108,13 @@ ext {
106
108
wordPressLintVersion = ' 2.0.0'
107
109
}
108
110
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
+
109
118
allprojects {
110
119
apply plugin : ' checkstyle'
111
120
apply plugin : ' io.gitlab.arturbosch.detekt'
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ pluginManagement {
7
7
gradle. ext. daggerVersion = " 2.46.1"
8
8
gradle. ext. detektVersion = ' 1.23.0'
9
9
gradle. ext. violationCommentsVersion = ' 1.67'
10
+ gradle. ext. measureBuildsVersion = ' 2.0.3'
10
11
11
12
plugins {
12
13
id " org.jetbrains.kotlin.android" version gradle. ext. kotlinVersion
@@ -22,12 +23,14 @@ pluginManagement {
22
23
id " io.sentry.android.gradle" version gradle. ext. sentryVersion
23
24
id " io.gitlab.arturbosch.detekt" version gradle. ext. detektVersion
24
25
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
25
27
}
26
28
repositories {
27
29
maven {
28
30
url ' https://a8c-libs.s3.amazonaws.com/android'
29
31
content {
30
32
includeGroup " com.automattic.android"
33
+ includeGroup " com.automattic.android.measure-builds"
31
34
}
32
35
}
33
36
gradlePluginPortal()
You can’t perform that action at this time.
0 commit comments