gradle-versions-plugin
gradle-versions-plugin copied to clipboard
Merged Report Missing
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
I noticed this is still happening. Any thoughts on what might be happening?
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.