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

Option to disable the warning for Scala subprojects missing Scoverage plugin #209

Open
q-willboulter opened this issue Dec 23, 2024 · 0 comments · May be fixed by #210
Open

Option to disable the warning for Scala subprojects missing Scoverage plugin #209

q-willboulter opened this issue Dec 23, 2024 · 0 comments · May be fixed by #210

Comments

@q-willboulter
Copy link

q-willboulter commented Dec 23, 2024

I work on a large multi-project Gradle build and there are some Scala subprojects where Scoverage is intentionally not applied, e.g. API modules. This results in many warnings (36 in our case) being logged during configuration, before every gradle command is executed.

It would be nice to have a way to exclude subprojects individually from the parent project aggregation so this warning is skipped, or to have some other way to avoid the warning e.g. suppressing it generally with a Boolean option on the parent project.

The configuration for this could look something like:

project(":parent")
  apply plugin: 'org.scoverage'

  scoverage {
    ...
    excludedSubprojects = [
      project(":parent:api-subproject")
    ]
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant