Update graalvm buildtools native

This commit is contained in:
AsamK 2023-04-13 18:08:52 +02:00
parent ff803eaf45
commit 6a3ebfd4c8

View file

@ -3,7 +3,7 @@ plugins {
application application
eclipse eclipse
`check-lib-versions` `check-lib-versions`
id("org.graalvm.buildtools.native") version "0.9.20" id("org.graalvm.buildtools.native") version "0.9.21"
} }
version = "0.11.8" version = "0.11.8"
@ -23,6 +23,7 @@ graalvmNative {
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) {
toolchainDetection.set(true)
javaLauncher.set(javaToolchains.launcherFor { javaLauncher.set(javaToolchains.launcherFor {
languageVersion.set(JavaLanguageVersion.of(17)) languageVersion.set(JavaLanguageVersion.of(17))
}) })