Skip to content

Commit f319301

Browse files
committed
update build.gradle
1 parent 0e6e4bc commit f319301

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

build.gradle

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ repositories {
2626

2727
String javafx(String moduleName) {
2828
if (jforeign.Platform.isWindows()) {
29-
return "org.openjfx:javafx-$moduleName:11:win"
29+
return "org.openjfx:javafx-$moduleName:13:win"
3030
} else if (jforeign.Platform.isMac()) {
31-
return "org.openjfx:javafx-$moduleName:11:mac"
31+
return "org.openjfx:javafx-$moduleName:13:mac"
3232
} else if (jforeign.Platform.isUnix()) {
33-
return "org.openjfx:javafx-$moduleName:11:linux"
33+
return "org.openjfx:javafx-$moduleName:13:linux"
3434
}
3535
}
3636

@@ -78,5 +78,12 @@ jlink {
7878
launcher {
7979
name = 'ClassViewer'
8080
}
81+
if(!jforeign.Platform.isWindows()) {
82+
project.tasks.getByName('jlink').doLast {
83+
delete {
84+
delete "$imageDir/bin/ClassViewer.bat"
85+
}
86+
}
87+
}
8188
}
8289
}

0 commit comments

Comments
 (0)