Skip to content
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

aggregateScoverage issue #66

Open
knarayanan88 opened this issue Jan 6, 2018 · 1 comment
Open

aggregateScoverage issue #66

knarayanan88 opened this issue Jan 6, 2018 · 1 comment

Comments

@knarayanan88
Copy link

Hi
I have multiple projects gradle repo and I am able to generate reportScoverage for each of these subprojects. But when I run gradle clean reportScoverage aggregateScoverage , the build fails with exception as shown in this gist link

I have added below to my build.gradle file in my root folder.

task aggregateScoverage(type: org.scoverage.ScoverageAggregate)

getTasksByName('reportScoverage', true).each {
  aggregateScoverage.dependsOn(it)
}

According to README, the aggregated report should come under build/scoverage-aggregate directory, but I don't see a build directory under my root repo.

Please let me know if there is something I am missing.

@maiflai
Copy link
Contributor

maiflai commented Jan 6, 2018

Hi,

That's a bit strange. Have you applied the gradle-scoverage plugin to the root project?

It would be easiest if you could share the repo so that I could review the project.

Thanks,
Stu.

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

No branches or pull requests

2 participants