Compare commits
2 Commits
80f7ec117a
...
387ee7efc6
| Author | SHA1 | Date | |
|---|---|---|---|
| 387ee7efc6 | |||
| d8185d280e |
@@ -10,7 +10,7 @@ import org.gradle.internal.os.OperatingSystem
|
||||
group 'com.lenis0012'
|
||||
version '1.0'
|
||||
|
||||
project.ext.lwjglVersion = "3.3.2-SNAPSHOT"
|
||||
project.ext.lwjglVersion = "3.3.2"
|
||||
switch (OperatingSystem.current()) {
|
||||
case OperatingSystem.LINUX:
|
||||
project.ext.lwjglNatives = "natives-linux"
|
||||
@@ -29,6 +29,7 @@ repositories {
|
||||
dependencies {
|
||||
implementation 'org.jfxtras:jmetro:11.6.16'
|
||||
implementation 'org.controlsfx:controlsfx:11.1.0'
|
||||
implementation 'org.eclipse.fx:org.eclipse.fx.drift:1.0.0'
|
||||
|
||||
implementation platform("org.lwjgl:lwjgl-bom:$lwjglVersion")
|
||||
implementation "org.lwjgl:lwjgl"
|
||||
@@ -58,9 +59,9 @@ application {
|
||||
mainModule = 'oraksi'
|
||||
mainClass = 'com.lenis0012.oraksi.HelloApplication'
|
||||
applicationDefaultJvmArgs = [
|
||||
'--enable-preview', '--enable-native-access=oraksi',
|
||||
'--add-opens',
|
||||
'javafx.graphics/javafx.scene=oraksi'
|
||||
'--enable-preview',
|
||||
'--enable-native-access=oraksi',
|
||||
'--add-opens=javafx.graphics/javafx.scene=oraksi'
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
@@ -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