gradle-versions-plugin icon indicating copy to clipboard operation
gradle-versions-plugin copied to clipboard

Merged Report Missing

Open bellini-ea opened this issue 3 years ago • 2 comments

Hello, I have a multi-module project that uses the buildSrc with convention files. I have no build.gradle.kts in the root of the project for example. In this setup, the dependency plugin generates a report into each subproject (<subproject>/build/reports/dependencyUpdates) however there is no merged result generated. Probably because there is no root project in this style.

Gradle 7.0.2 with the Kotlin DSL Version 0.39.0 of this plugin

Project layout

root

  • gradle.properties
  • settings.gradle.kts
  • buildSrc
    • build.gradle.kts
    • src/main/kotlin/convention.kts files
  • project-A
    • build.gradle.kts
  • project-B
    • build.gradle.kts
  • project-C
    • build.gradle.kts

This is not a blocker since I do get individual reports.

Cheers, John

bellini-ea avatar Jun 30 '21 15:06 bellini-ea

I noticed this is still happening. Any thoughts on what might be happening?

bellini-ea avatar Apr 29 '22 16:04 bellini-ea

The plugin doesn’t merge reports but rather traverses it’s children to resolve. Your initial guess is correct, the lack of a root project means it doesn’t produce a singular report.

The merge approach became recommended after this plugin was written in order to leverage parallel tasks. That would be a big change for the better, so PRs are welcome from those who would like to contribute.

ben-manes avatar Apr 29 '22 16:04 ben-manes