Register java exit handlers in graalvm native build

This commit is contained in:
AsamK 2023-11-06 20:00:53 +01:00
parent fdd5ca426e
commit 5fe94b8857

View file

@ -20,6 +20,7 @@ application {
graalvmNative {
binaries {
this["main"].run {
buildArgs.add("--install-exit-handlers")
resources.autodetect()
configurationFileDirectories.from(file("graalvm-config-dir"))
if (System.getenv("GRAALVM_HOME") == null) {