Skip to content

Commit 9fb1b19

Browse files
committed
Build: Add dependency analysis plugin
FYI: This commit adds a previous version of the plugin (1.28.0) and not the latest version (1.32.0). This is because the latest version gets stuck during the 'computeActualUsage' phase and increases the build time of the 'buildHealth' task by as much as five times (5x). For more info see: Stuck in computeActualUsageDebug for many minutes #1186 (https://github.com/autonomousapps/ dependency-analysis-gradle-plugin/issues/1186)
1 parent 7b3f7bb commit 9fb1b19

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

build.gradle

+1
Original file line numberDiff line numberDiff 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

1819
allprojects {

settings.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ pluginManagement {
22
gradle.ext.kotlinVersion = '1.9.22'
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 {

0 commit comments

Comments
 (0)