-
Notifications
You must be signed in to change notification settings - Fork 126
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
Filter out statements not in source roots #167
Conversation
This PR breaks I would like to revert it, because I still have no answer to my question #165 (comment) what is it for. |
sbt-scoverage just needs to be updated to set |
So we have a mess here and I still don't know, what is it for. |
Additionally, I would like to be able to use this version with older versions of Maven plugin. We should keep things backward compatible. |
Agreed. We need clarification from the original author what this was meant On 17 June 2016 at 11:56, Grzegorz Slowikowski [email protected]
|
Adding regular Scala default value to that flag would work only in sbt, but not in Gradle and probably similarly not in Maven. Instead we can add another constructor that will itself set the default value, or use setters. WDYT? Adding another constructor seems to be the most straightforward. Also, replied in another thread. |
Here's PR to get compat back: #169 |
These PRs fix scoverage#165. It's unclear what the problem really is. Issue author has "No source root found for ${sourcepath}" exception in Gradle project. We cannot reproduce the problem. This must be something with user's project configuration or a bug in Gradle plugin. The two PRs were merged hastily all will be reverted. @pbatko please provide test project and report problem in [Gradle Scoverage plugin](https://github.com/scoverage/gradle-scoverage/issues) first.
Fixes #165
Adds a flag to
scoverage.report.BaseReportWriter
to optionally filter out statements from sources not in root sources.