Skip to content

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

Open
@q-willboulter

Description

@q-willboulter

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")
    ]
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions