feat: fix build process for javafx and conveyor

This commit is contained in:
2023-04-10 17:57:01 +02:00
parent 80f7ec117a
commit d8185d280e
2 changed files with 57 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ app {
// Windows gets square icons, macOS and Linux icons with rounded corners.
icons = {
label = "FX"
label = "Ok"
}
// Ensure the icons are also included as data files so we can set the window icon.
@@ -21,6 +21,19 @@ app {
// Check for and apply updates synchronously on every app launch instead of in the background.
// Consider removing this line for your own app!
updates = aggressive
jvm {
extract-native-libraries = true
system-properties = {
"org.lwjgl.librarypath" = <libpath>
"org.lwjgl.util.Debug" = true
}
// Required options because module is converted to jar (https://github.com/hydraulic-software/conveyor/issues/55)
options += "--enable-native-access=ALL-UNNAMED"
options += "--add-opens=javafx.graphics/javafx.scene=ALL-UNNAMED"
}
}
; app.windows.console = true
conveyor.compatibility-level = 8