mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
Register java exit handlers in graalvm native build
This commit is contained in:
parent
1e35ac380e
commit
4fbc97c92a
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ application {
|
||||||
graalvmNative {
|
graalvmNative {
|
||||||
binaries {
|
binaries {
|
||||||
this["main"].run {
|
this["main"].run {
|
||||||
|
buildArgs.add("--install-exit-handlers")
|
||||||
resources.autodetect()
|
resources.autodetect()
|
||||||
configurationFileDirectories.from(file("graalvm-config-dir"))
|
configurationFileDirectories.from(file("graalvm-config-dir"))
|
||||||
if (System.getenv("GRAALVM_HOME") == null) {
|
if (System.getenv("GRAALVM_HOME") == null) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue