File tree Expand file tree Collapse file tree 4 files changed +29
-0
lines changed Expand file tree Collapse file tree 4 files changed +29
-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
+ common_params :
5
+ # Common plugin settings to use with the `plugins` key.
6
+ - &common_plugins
7
+ - automattic/a8c-ci-toolkit#2.15.0
8
+
9
+ agents :
10
+ queue : " android"
11
+
12
+ steps :
13
+ - label : " dependency analysis"
14
+ command : |
15
+ echo "--- 📊 Analyzing"
16
+ cp gradle.properties-example gradle.properties
17
+ ./gradlew buildHealth
18
+ plugins : *common_plugins
19
+ artifact_paths :
20
+ - " build/reports/dependency-analysis/build-health-report.*"
21
+ notify :
22
+ - slack : " #android-core-notifs"
23
+ if : build.state == "failed"
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
3
3
plugins {
4
4
id " com.android.library" apply false
5
5
id " org.jetbrains.kotlin.android" apply false
6
+ id " com.autonomousapps.dependency-analysis"
6
7
}
7
8
8
9
allprojects {
Original file line number Diff line number Diff line change @@ -4,3 +4,6 @@ android.useAndroidX=true
4
4
android.enableJetifier=false
5
5
6
6
android.nonTransitiveRClass=true
7
+
8
+ # Dependency Analysis Plugin
9
+ dependency.analysis.android.ignored.variants=release
Original file line number Diff line number Diff line change @@ -2,11 +2,13 @@ pluginManagement {
2
2
gradle. ext. kotlinVersion = ' 1.9.22'
3
3
gradle. ext. agpVersion = ' 8.1.0'
4
4
gradle. ext. automatticPublishToS3Version = ' 0.9.0'
5
+ gradle. ext. dependencyAnalysisVersion = ' 1.28.0'
5
6
6
7
plugins {
7
8
id " org.jetbrains.kotlin.android" version gradle. ext. kotlinVersion
8
9
id " com.android.library" version gradle. ext. agpVersion
9
10
id " com.automattic.android.publish-to-s3" version gradle. ext. automatticPublishToS3Version
11
+ id " com.autonomousapps.dependency-analysis" version gradle. ext. dependencyAnalysisVersion
10
12
}
11
13
repositories {
12
14
maven {
You can’t perform that action at this time.
0 commit comments