Skip to content

Commit 47526f6

Browse files
chore: fix gradle
1 parent c035de7 commit 47526f6

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

build.gradle

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,12 @@ xjc {
101101
options = ["-extension", "-encoding", "UTF-8"]
102102
}
103103

104-
version = '24.04.24'
104+
version = '25.09.29'
105105
def company = 'My Company'
106106

107-
mainClassName = "com.example.hellofx.Launcher"
108-
applicationName = 'hello-fx'
109-
110107
application {
108+
applicationName = 'hello-fx'
109+
mainClass.set("com.example.hellofx.Launcher")
111110
applicationDefaultJvmArgs = [
112111
// necessary for ControlsFX
113112
"--add-opens=javafx.base/com.sun.javafx.event=ALL-UNNAMED",
@@ -126,8 +125,8 @@ application {
126125
runtime {
127126
options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
128127
jpackage {
129-
imageName = applicationName // "hello-fx"
130-
installerName = applicationName
128+
imageName = application.applicationName // "hello-fx"
129+
installerName = application.applicationName
131130
// Set the environment property BADASS_JLINK_JPACKAGE_HOME or explicitly configure the below property
132131
def os = org.gradle.internal.os.OperatingSystem.current()
133132
/* if(os.macOsX) {

0 commit comments

Comments
 (0)