fix: correct core sepration for the gui and the tui, gui no longer in a seperate module
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user