autonomousapps / dependency-analysis-gradle-plugin

Gradle plugin for JVM projects written in Java, Kotlin, Groovy, or Scala; and Android projects written in Java or Kotlin. Provides advice for managing dependencies and other applied plugins
Apache License 2.0
1.66k stars 116 forks source link

Run plugin for some specific modules only #1188

Closed 9tilov closed 1 month ago

9tilov commented 1 month ago

Hi team! I have a question regarding plugin configuration. I integrated it for my work project but buildHealth task takes too much time. Is it possible to configure it somehow and run buildHealth task for specific modules only? I have looked into dependencyAnalysis extension but found only settings for specific module. It means if I run buildHealth all my modules will be checked. But I want to check specific modules only.

autonomousapps commented 1 month ago

You can run ./gradlew my-module:projectHealth instead. This is noted in the readme here.