refactor: centralize coverage exclusions for scoverage across modules
Build & Test (NowChessSystems) TeamCity build finished

This commit is contained in:
2026-04-21 08:44:36 +02:00
parent f2cf899faa
commit 74cafff6b3
5 changed files with 56 additions and 48 deletions
+3 -3
View File
@@ -9,6 +9,8 @@ version = "1.0-SNAPSHOT"
@Suppress("UNCHECKED_CAST")
val versions = rootProject.extra["VERSIONS"] as Map<String, String>
@Suppress("UNCHECKED_CAST")
val scoverageExcluded = rootProject.extra["SCOVERAGE_EXCLUDED"] as List<String>
repositories {
mavenCentral()
@@ -20,9 +22,7 @@ scala {
scoverage {
scoverageVersion.set(versions["SCOVERAGE"]!!)
excludedFiles.set(listOf(
".*GameResource\\.scala"
))
excludedFiles.set(scoverageExcluded)
}
tasks.withType<ScalaCompile> {