Skip to content

Commit

Permalink
Add support for -coverage-exclude-classlikes and -coverage-exclude-fi…
Browse files Browse the repository at this point in the history
…les for Scala 3 (README.md updated)
  • Loading branch information
msigmond committed Jun 23, 2024
1 parent 250b840 commit e910bce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You can find instructions on how to apply the plugin at http://plugins.gradle.or
The plugin exposes multiple options that can be configured by setting them in an `scoverage` block within the project's
build script. These options are as follows:

* `scoverageVersion = <String>` (default `"1.4.8`): The version of the scoverage scalac plugin. This (gradle) plugin
* `scoverageVersion = <String>` (default `"2.1.1`): The version of the scoverage scalac plugin. This (gradle) plugin
should be compatible with all 1+ versions.

* `scoverageScalaVersion = <String>` (default `detected`): The scala version of the scoverage scalac plugin. This
Expand All @@ -64,6 +64,10 @@ required for the validation to pass (otherwise `checkScoverage` will fail the bu
`checkScoverage` task. For more information on the different types, please refer to the documentation of the scalac
plugin (https://github.com/scoverage/scalac-scoverage-plugin).

* `excludedFiles = <files>` (default `not set`): Comma separated list of regexes for files to exclude from coverage.

* `excludedPackages = <packages, classes and modules>` (default `not set`): Comma separated list of regexes for packages, classes and modules to exclude from coverage.

#### Multiple check tasks

It is possible to configure multiple checks; for instance, one check for a statement rate and another for a branch rate:
Expand Down

0 comments on commit e910bce

Please sign in to comment.