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

Using gradle-scoverage on Project with Multiple Submodules #186

Open
hariravichandran opened this issue Oct 24, 2022 · 0 comments
Open

Using gradle-scoverage on Project with Multiple Submodules #186

hariravichandran opened this issue Oct 24, 2022 · 0 comments

Comments

@hariravichandran
Copy link

hariravichandran commented Oct 24, 2022

Hi,

We are trying to run gradle-scoverage on a project using multiple submodules. Let's call them modules A, B, and C. There is an overarching build.gradle file, and each module A through C has its own build.gradle file.

In each submodule we have the following in build.gradle:

scoverage {
    minimumRate = 0.7
}

dependencies {
    . . .
}
. . .

So three questions:

  1. Can you provide an example where we use scoverage {} as part of individual project submodules?
  2. Could you provide an example where we use scoverage {} as part of the parent module build.gradle? When I try to paste the scoverage{} statement there, it crashes.
  3. The coverage information e.g., percentages etc. is not appearing in our build on GitLab. How do we debug the percentages not appearing?

Any help would be appreciated.

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

1 participant