Skip to content

Commit

Permalink
A hint for Kotlin DSL users
Browse files Browse the repository at this point in the history
  • Loading branch information
msigmond committed Jun 30, 2024
1 parent 9e6c5b3 commit 7efebd8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,15 @@ scoverage {
coverageType = CoverageType.Statement
}
}
```
```

In case you use the Kotlin DSL, the following snippet can give you pointers for configuring Scoverage:
```kotlin
scoverage {
minimumRate.set(BigDecimal("0.80"))
excludedPackages.set(listOf<String>("com.example.scala.demo"))
}
```

### Compatibility with Consistent Versions Plugin

Expand Down

0 comments on commit 7efebd8

Please sign in to comment.