Skip to content

Commit

Permalink
Build: Add dependency analysis plugin
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
ParaskP7 committed Jun 28, 2024
1 parent 4381bda commit cfd6e58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ plugins {
id "io.gitlab.arturbosch.detekt"
id 'com.automattic.android.measure-builds'
id "org.jetbrains.kotlinx.kover"
id "com.autonomousapps.dependency-analysis"
id "androidx.navigation.safeargs.kotlin" apply false
id "com.android.library" apply false
id 'com.google.gms.google-services' apply false
Expand Down
2 changes: 2 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ pluginManagement {
gradle.ext.violationCommentsVersion = '1.70.0'
gradle.ext.measureBuildsVersion = '2.1.2'
gradle.ext.koverVersion = '0.7.5'
gradle.ext.dependencyAnalysisVersion = '1.28.0'

plugins {
id "org.jetbrains.kotlin.android" version gradle.ext.kotlinVersion
Expand All @@ -28,6 +29,7 @@ pluginManagement {
id "org.jetbrains.kotlinx.kover" version gradle.ext.koverVersion
id "com.google.dagger.hilt.android" version gradle.ext.daggerVersion
id "com.google.devtools.ksp" version gradle.ext.kspVersion
id "com.autonomousapps.dependency-analysis" version gradle.ext.dependencyAnalysisVersion
}
repositories {
maven {
Expand Down

0 comments on commit cfd6e58

Please sign in to comment.