Add --enable-native-access for javafx.graphics (#3749)

* Add --enable-native-access for javafx.graphics

* fix checkstyle

* update
This commit is contained in:
Glavo
2025-03-20 16:21:17 +08:00
committed by GitHub
parent efd088e014
commit e4c7b137f1
4 changed files with 94 additions and 2 deletions

View File

@@ -144,8 +144,9 @@ tasks.getByName<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar>("sha
"javafx.controls/com.sun.javafx.scene.control",
"javafx.controls/com.sun.javafx.scene.control.behavior",
"javafx.controls/javafx.scene.control.skin",
"jdk.attach/sun.tools.attach"
).joinToString(" ")
"jdk.attach/sun.tools.attach",
).joinToString(" "),
"Enable-Native-Access" to "ALL-UNNAMED"
)
System.getenv("GITHUB_SHA")?.also {