Skip to content

compileScoverageScala.outputs should include "scoverage.coverage" #135

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

Closed
dsilvasc opened this issue Mar 17, 2020 · 0 comments · Fixed by #147
Closed

compileScoverageScala.outputs should include "scoverage.coverage" #135

dsilvasc opened this issue Mar 17, 2020 · 0 comments · Fixed by #147

Comments

@dsilvasc
Copy link

The scoverage instrumentation info file changed names from scoverage.coverage.xml to scoverage.coverage in scoverage/scalac-scoverage-plugin@4140954

The gradle plugin still only models the old filename in

outputs.file(new File(extension.dataDir.get(), 'scoverage.coverage.xml'))

CristianGM added a commit to CristianGM/gradle-scoverage that referenced this issue Nov 17, 2020
fixes scoverage#135 

This issue is making builds using the Gradle BuildCache to report 0% coverage.
Gradle caches the .xml file that doesn't exist from the compile task and then the report task doesn't see anything, now it will cache the right file fixing the builds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant