File tree Expand file tree Collapse file tree 4 files changed +30
-0
lines changed Expand file tree Collapse file tree 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 {
1313 id " com.android.application" apply false
1414 id " org.jetbrains.kotlin.android" apply false
1515 id " com.automattic.android.publish-to-s3" apply false
16+ id " com.autonomousapps.dependency-analysis"
1617}
1718
1819allprojects {
Original file line number Diff line number Diff line change @@ -22,3 +22,6 @@ android.enableJetifier=false
2222android.useAndroidX =true
2323
2424android.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 {
22 gradle. ext. kotlinVersion = ' 1.9.24'
33 gradle. ext. agpVersion = ' 8.1.0'
44 gradle. ext. automatticPublishToS3Version = ' 0.8.0'
5+ gradle. ext. dependencyAnalysisVersion = ' 1.28.0'
56
67 plugins {
78 id " com.android.library" version gradle. ext. agpVersion
89 id " com.android.application" version gradle. ext. agpVersion
910 id " org.jetbrains.kotlin.android" version gradle. ext. kotlinVersion
1011 id " com.automattic.android.publish-to-s3" version gradle. ext. automatticPublishToS3Version
12+ id " com.autonomousapps.dependency-analysis" version gradle. ext. dependencyAnalysisVersion
1113 }
1214 repositories {
1315 maven {
You can’t perform that action at this time.
0 commit comments