fix: correct core sepration for the gui and the tui, gui no longer in a seperate module

This commit is contained in:
shahdlala66
2026-04-01 08:52:59 +02:00
committed by Janis
parent 23a5c763c5
commit 395318909b
24 changed files with 30 additions and 90 deletions
+17 -1
View File
@@ -50,7 +50,23 @@ dependencies {
implementation(project(":modules:core"))
implementation(project(":modules:api"))
implementation(project(":modules:gui"))
// ScalaFX dependencies
implementation("org.scalafx:scalafx_3:21.0.0-R32")
// JavaFX dependencies for the current platform
val javaFXVersion = "21.0.1"
val osName = System.getProperty("os.name").lowercase()
val platform = when {
osName.contains("win") -> "win"
osName.contains("mac") -> "mac"
osName.contains("linux") -> "linux"
else -> "linux"
}
listOf("base", "controls", "graphics", "media").forEach { module ->
implementation("org.openjfx:javafx-$module:$javaFXVersion:$platform")
}
testImplementation(platform("org.junit:junit-bom:5.13.4"))
testImplementation("org.junit.jupiter:junit-jupiter")