diff --git a/build.gradle.kts b/build.gradle.kts index 68eed610..a20a5899 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -24,6 +24,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) {