df675a5f08
Build & Test (NowChessSystems) TeamCity build failed
Changed at how the run command starts TUI GUI and the server. This is neccessary so that TUI GUI and server start and the game from the TUI/GUI is registered in the server.
47 lines
1.4 KiB
Kotlin
47 lines
1.4 KiB
Kotlin
plugins {
|
|
id("org.sonarqube") version "7.2.3.7755"
|
|
id("org.scoverage") version "8.1" apply false
|
|
}
|
|
|
|
group = "de.nowchess"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
sonar {
|
|
properties {
|
|
property("sonar.projectKey", "Now-Chess-Systems")
|
|
property("sonar.projectName", "Now-Chess Systems")
|
|
property("sonar.host.url", "https://sonar.janis-eccarius.de")
|
|
property("sonar.token", System.getenv("SONAR_TOKEN"))
|
|
property("sonar.branch.name", System.getenv("GIT_BRANCH") ?: "main")
|
|
|
|
val scoverageReports = subprojects.mapNotNull { subproject ->
|
|
val report = subproject.file("build/reports/scoverageTest/scoverage.xml")
|
|
if (report.exists()) report.absolutePath else null
|
|
}.joinToString(",")
|
|
|
|
property("sonar.scala.coverage.reportPaths", scoverageReports)
|
|
}
|
|
}
|
|
|
|
val versions = mapOf(
|
|
"QUARKUS_SCALA3" to "1.0.0",
|
|
"SCALA3" to "3.5.1",
|
|
"SCALA_LIBRARY" to "2.13.18",
|
|
"SCALATEST" to "3.2.19",
|
|
"SCALATEST_JUNIT" to "0.1.11",
|
|
"SCOVERAGE" to "2.1.1",
|
|
"SCALAFX" to "21.0.0-R32",
|
|
"JAVAFX" to "21.0.1",
|
|
"JUNIT_BOM" to "5.13.4",
|
|
"SCALA_PARSER_COMBINATORS" to "2.4.0",
|
|
"FASTPARSE" to "3.0.2",
|
|
"HTTP4S" to "0.23.29",
|
|
"CIRCE" to "0.14.10"
|
|
)
|
|
extra["VERSIONS"] = versions
|
|
|
|
tasks.register("run") {
|
|
dependsOn(":modules:ui:run")
|
|
}
|
|
|