Improve graalvm native build wih resource autodetect

This commit is contained in:
AsamK 2022-10-21 10:25:57 +02:00
parent af324eeca5
commit 2a1be0bd85

View file

@ -20,8 +20,8 @@ application {
graalvmNative { graalvmNative {
binaries { binaries {
this["main"].run { this["main"].run {
resources.autodetect()
configurationFileDirectories.from(file("graalvm-config-dir")) configurationFileDirectories.from(file("graalvm-config-dir"))
buildArgs.add("--report-unsupported-elements-at-runtime")
} }
} }
} }