dependency-analysis-gradle-plugin icon indicating copy to clipboard operation
dependency-analysis-gradle-plugin copied to clipboard

Use Property API for extension configuration

Open ZakTaccardi opened this issue 4 months ago • 1 comments

expected:

val printBuildHealthProperty: Property<Boolean> = TODO()

dependencyAnalysis {
  reporting {
    printBuildHealth = printBuildHealthProperty
  }
}

actual:

val printBuildHealthProperty: Property<Boolean> = TODO()

dependencyAnalysis {
  reporting {
    printBuildHealth(printBuildHealthProperty.get())
  }
}

We would like to avoid the .get() - thanks!

ZakTaccardi avatar Aug 21 '25 19:08 ZakTaccardi

Thanks for the issue. I'm open to this change but can't prioritize it. If you want to contribute a PR, I'm happy to review.

autonomousapps avatar Aug 22 '25 18:08 autonomousapps