Skip to content

Commit

Permalink
Update GraalVM to 21.3.0, use Java 17 GraalVM
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Dec 17, 2021
1 parent a9ed146 commit 8ab7da4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion project/deps.sc
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ object Deps {
def usingDirectives = ivy"org.virtuslab:using_directives:0.0.7-4f0dd5d-SNAPSHOT"
}

def graalVmVersion = "21.2.0"
def graalVmVersion = "21.3.0"

def csDockerVersion = Deps.Versions.coursier

Expand Down
4 changes: 2 additions & 2 deletions project/settings.sc
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ trait CliLaunchers extends SbtModule { self =>
trait CliNativeImage extends NativeImage {
def nativeImageCsCommand = Seq(cs())
def nativeImagePersist = System.getenv("CI") != null
def nativeImageGraalVmJvmId = s"graalvm-java11:${deps.graalVmVersion}"
def nativeImageGraalVmJvmId = s"graalvm-java17:${deps.graalVmVersion}"
def nativeImageOptions = T {
val usesDocker = nativeImageDockerParams().nonEmpty
val cLibPath =
Expand Down Expand Up @@ -370,7 +370,7 @@ trait CliLaunchers extends SbtModule { self =>
// format: off
Seq(
cs(), "java-home",
"--jvm", s"graalvm-java11:$graalVmVersion",
"--jvm", s"graalvm-java17:$graalVmVersion",
"--jvm-index", jvmIndex
).!!.trim
// format: on
Expand Down

0 comments on commit 8ab7da4

Please sign in to comment.