Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix for Scoverage prefix issue with Gradle #63
The issue was caused by the Scoverage plugin behaving differently in various build tools and resulting in the Scoverage sensor not working correctly for multi-module Gradle projects.
The proposed solution strips out current module path from the
To test this I used the example Gradle projects introduced in #62, which both now correctly report coverage details to Sonar.
Thanks for your detailed explanation - it all makes a perfect sense.
I agree with you that this is becoming more and more tricky as we're trying to cover all the differences between various build tools. Hopefully, we can come up with a simpler solution to this, but it definitely requires a bit more thought... If you're happy for now I think that we should go with this solution and revisit this in the future if we come across any more issues with prefixes.