feat: update dependency versions in build.gradle.kts for ScalaFX and JavaFX
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
plugins {
|
||||
id("scala")
|
||||
id("org.scoverage") version "8.1"
|
||||
id("org.scoverage")
|
||||
application
|
||||
}
|
||||
|
||||
@@ -55,10 +55,10 @@ dependencies {
|
||||
implementation(project(":modules:api"))
|
||||
|
||||
// ScalaFX dependencies
|
||||
implementation("org.scalafx:scalafx_3:21.0.0-R32")
|
||||
implementation("org.scalafx:scalafx_3:${versions["SCALAFX"]!!}")
|
||||
|
||||
// JavaFX dependencies for the current platform
|
||||
val javaFXVersion = "21.0.1"
|
||||
val javaFXVersion = versions["JAVAFX"]!!
|
||||
val osName = System.getProperty("os.name").lowercase()
|
||||
val platform = when {
|
||||
osName.contains("win") -> "win"
|
||||
@@ -71,7 +71,7 @@ dependencies {
|
||||
implementation("org.openjfx:javafx-$module:$javaFXVersion:$platform")
|
||||
}
|
||||
|
||||
testImplementation(platform("org.junit:junit-bom:5.13.4"))
|
||||
testImplementation(platform("org.junit:junit-bom:${versions["JUNIT_BOM"]!!}"))
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
testImplementation("org.scalatest:scalatest_3:${versions["SCALATEST"]!!}")
|
||||
testImplementation("co.helmethair:scalatest-junit-runner:${versions["SCALATEST_JUNIT"]!!}")
|
||||
|
||||
Reference in New Issue
Block a user