Skip to content

Commit e910bce

Browse files
committed
Add support for -coverage-exclude-classlikes and -coverage-exclude-files for Scala 3 (README.md updated)
1 parent 250b840 commit e910bce

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You can find instructions on how to apply the plugin at http://plugins.gradle.or
4343
The plugin exposes multiple options that can be configured by setting them in an `scoverage` block within the project's
4444
build script. These options are as follows:
4545

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

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

67+
* `excludedFiles = <files>` (default `not set`): Comma separated list of regexes for files to exclude from coverage.
68+
69+
* `excludedPackages = <packages, classes and modules>` (default `not set`): Comma separated list of regexes for packages, classes and modules to exclude from coverage.
70+
6771
#### Multiple check tasks
6872

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

0 commit comments

Comments
 (0)