feat: fix build process for javafx and conveyor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user