File tree 4 files changed +30
-0
lines changed
4 files changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ # yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
2
+ ---
3
+
4
+ # Nodes with values to reuse in the pipeline.
5
+ common_params :
6
+ # Common plugin settings to use with the `plugins` key.
7
+ - &common_plugins
8
+ - automattic/a8c-ci-toolkit#2.14.0
9
+
10
+ # Run everything on the `android` queue
11
+ agents :
12
+ queue : android
13
+
14
+ steps :
15
+ - label : " dependency analysis"
16
+ command : |
17
+ echo "--- 📊 Analyzing"
18
+ ./gradlew buildHealth
19
+ plugins : *common_plugins
20
+ artifact_paths :
21
+ - " build/reports/dependency-analysis/build-health-report.*"
22
+ notify :
23
+ - slack : " #android-core-notifs"
24
+ if : build.state == "failed"
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ plugins {
13
13
id " com.android.application" apply false
14
14
id " org.jetbrains.kotlin.android" apply false
15
15
id " com.automattic.android.publish-to-s3" apply false
16
+ id " com.autonomousapps.dependency-analysis"
16
17
}
17
18
18
19
allprojects {
Original file line number Diff line number Diff line change @@ -22,3 +22,6 @@ android.enableJetifier=false
22
22
android.useAndroidX =true
23
23
24
24
android.nonTransitiveRClass =true
25
+
26
+ # Dependency Analysis Plugin
27
+ dependency.analysis.android.ignored.variants =release
Original file line number Diff line number Diff line change @@ -2,12 +2,14 @@ pluginManagement {
2
2
gradle. ext. kotlinVersion = ' 1.9.24'
3
3
gradle. ext. agpVersion = ' 8.1.0'
4
4
gradle. ext. automatticPublishToS3Version = ' 0.8.0'
5
+ gradle. ext. dependencyAnalysisVersion = ' 1.28.0'
5
6
6
7
plugins {
7
8
id " com.android.library" version gradle. ext. agpVersion
8
9
id " com.android.application" version gradle. ext. agpVersion
9
10
id " org.jetbrains.kotlin.android" version gradle. ext. kotlinVersion
10
11
id " com.automattic.android.publish-to-s3" version gradle. ext. automatticPublishToS3Version
12
+ id " com.autonomousapps.dependency-analysis" version gradle. ext. dependencyAnalysisVersion
11
13
}
12
14
repositories {
13
15
maven {
You can’t perform that action at this time.
0 commit comments