diff --git a/build.gradle.kts b/build.gradle.kts index 5879660e..afe90248 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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) {