Skip to content

Commit e80b4bd

Browse files
chore: use JavaFX 23 to allow JDK 21 and 25
1 parent 742fce0 commit e80b4bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Windows: set JAVA_HOME=C:\Program Files\Java\jdk-21
33
// Windows: set JAVA_HOME=C:\Program Files\Java\jdk-25
44
// Linux: export JAVA_HOME=/usr/lib/jvm/jdk-11.0.5+10
5-
// MacOS: export JAVA_HOME=`/usr/libexec/java_home -v 11`
5+
// MacOS: export JAVA_HOME=`/usr/libexec/java_home -v 21`
66

77
plugins {
88
id 'application'
@@ -66,7 +66,7 @@ java {
6666
}
6767

6868
javafx {
69-
version = '25' // '22.0.1' // '16' // '14.0.2.1'
69+
version = '23' // '22.0.1' // '16' // '14.0.2.1'
7070
// modules = ['javafx.base', 'javafx.graphics', 'javafx.controls']
7171
// Note: org.openjfx.javafxplugin@0.1.0 with badass-runtime-plugin relies on having all modules (transitive included) declared as "top-level" modules
7272
modules = ['javafx.base', 'javafx.graphics', 'javafx.controls', 'javafx.swing', 'javafx.fxml', 'javafx.media', 'javafx.web']
@@ -141,7 +141,7 @@ runtime {
141141
installerOptions += [
142142
// Note: --mac-package-identifier needs to be part of imageOptions
143143
// '--mac-package-identifier', 'com.my-company.hellofx',
144-
// '--mac-sign',
144+
'--mac-sign',
145145
// '--mac-signing-key-user-name', System.getenv('SIGNING_KEY_USER_NAME'),
146146
// '--mac-signing-keychain', System.getenv('SIGNING_KEYCHAIN_PATH')
147147
]

0 commit comments

Comments
 (0)