From 7efebd868db6c4f41dbbc7e663c61e0b32d2dddf Mon Sep 17 00:00:00 2001 From: Marton Sigmond <5667024+msigmond@users.noreply.github.com> Date: Sun, 30 Jun 2024 16:04:15 -0400 Subject: [PATCH] A hint for Kotlin DSL users --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e46cca0..f5fd7b1 100644 --- a/README.md +++ b/README.md @@ -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("com.example.scala.demo")) +} +``` ### Compatibility with Consistent Versions Plugin