New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect gradle project analysis on multi-module projects when subprojects have the same name #151
Comments
Hi, |
Relates #19 |
@shanshin Is there any workaround or release plan for this fix? In my project we used multi module arch and it hurts a lot on the coverage report because of this 😢 |
It's probably related to the way Gradle works, that is, it treats different submodules with the same name as the same dependency. |
I'm playing with Kover (v0.5.0) these days and I noticed a weird behaviour on multi-module projects with a nested hierarchy. When there are submodules with the same name, Kover often analyses the wrong project.
Given the following project structure:
./gradlew :feature:first:koverHtmlReport
is analyzing:feature:nested:first
./gradlew :feature:nested:first:koverHtmlReport
is correct./gradlew :feature:another-nesting:first:koverHtmlReport
is analyzing again:feature:nested:first
Zero configuration from my side, just applied the plugin.
Downgraded to
v0.4.4
and everything works fine.Everything should be reproducible in this repo https://github.com/ologe/kover-testing
The text was updated successfully, but these errors were encountered: