feat: update Scala library version and enhance test configurations
Build & Test (NowChessSystems) TeamCity build failed

This commit is contained in:
2026-04-21 14:48:57 +02:00
parent 9a36555f1a
commit e7d556fa06
4 changed files with 36 additions and 2 deletions
+12
View File
@@ -77,6 +77,18 @@ dependencies {
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
}
configurations.matching { !it.name.startsWith("scoverage") }.configureEach {
resolutionStrategy.force("org.scala-lang:scala-library:${versions["SCALA_LIBRARY"]!!}")
}
configurations.scoverage {
resolutionStrategy.eachDependency {
if (requested.group == "org.scoverage" && requested.name.startsWith("scalac-scoverage-plugin_")) {
useTarget("${requested.group}:scalac-scoverage-plugin_2.13.16:2.3.0")
}
}
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
options.compilerArgs.add("-parameters")