You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is your use-case and why do you need this feature? kover integrates with Gradle's dependency resolution system by exposing a kover configuration to aggregate projects
As includedBuilds by convention exposes a dependency coordinate (implicit dependencySubstitution), declaring it as a kover dependency is expected to aggregate the child build into the main report.
Running ./gradlew :koverHtmlReport produces a report only containing main build modules:
While running ./gradlew :build-logic:koverHtmlReport, is correctly computing the build-logic modules (some now not aggregated in the root one):
Describe the solution you'd like
Included Builds should be transparently resolved as any other kover dependency and included in the aggregated report. Variants are there, it's seems to a matter of the internal plugin resolution strategy.
Thanks for report!
Unfortunately, Composite Builds are not supported at the moment, there are a number of technical limitations why it does not work in its current form.
What is your use-case and why do you need this feature?
kover
integrates with Gradle's dependency resolution system by exposing akover
configuration to aggregate projectsAs
includedBuild
s by convention exposes a dependency coordinate (implicitdependencySubstitution
), declaring it as akover
dependency is expected to aggregate the child build into the main report.dependencies { kover(":build-logic") }
This setup does not break the build, the correct

koverArtifact[TOTAL]
variant is resolved for the included build, but the report does not aggregate it.https://scans.gradle.com/s/2nb3nedv4ntsm/dependencies?focusedDependency=WzAsMCwyLFswLDAsWzJdXV0&toggled=W1swXSxbMCwwXV0
Running

./gradlew :koverHtmlReport
produces a report only containing main build modules:While running

./gradlew :build-logic:koverHtmlReport
, is correctly computing thebuild-logic
modules (some now not aggregated in the root one):Describe the solution you'd like
Included Builds should be transparently resolved as any other
kover
dependency and included in the aggregated report. Variants are there, it's seems to a matter of the internal plugin resolution strategy.Important
I provided a sample project at https://github.com/gmazzo/kover-demo-aggregation-issue/?tab=readme-ov-file#includedbuilds-not-aggregating
The text was updated successfully, but these errors were encountered: