Adjust native image setting

This commit is contained in:
Eugene Yokota 2024-10-28 04:59:21 -04:00
parent 4b04399219
commit 5096cc1829
1 changed files with 7 additions and 1 deletions

View File

@ -1176,7 +1176,13 @@ lazy val sbtClientProj = (project in file("client"))
nativeImageReady := { () =>
()
},
nativeImageInstalled := true,
if (isArmArchitecture)
Seq(
nativeImageVersion := "23.0",
nativeImageJvm := "graalvm-java23",
)
else Nil,
nativeImageInstalled := !isArmArchitecture,
nativeImageOutput := {
val outputDir = (target.value / "bin").toPath
if (!Files.exists(outputDir)) {