Skip to content

Commit

Permalink
JRE 17 test
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergrabinski committed Sep 26, 2023
1 parent 2c9929a commit a05549e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ lazy val compilation = {
Seq(
scalaVersion := scalaCompilerVersion,
scalacOptions ~= { options: Seq[String] => options.filterNot(Set("-Wself-implicit", "-Xlint:infer-any", "-Wnonunit-statement")) },
javaSpecificationVersion := "11",
javaSpecificationVersion := "17",
javacOptions ++= Seq(
"-source",
javaSpecificationVersion.value,
Expand Down Expand Up @@ -977,12 +977,15 @@ lazy val servicePackaging = {
else version.value
},
Docker / daemonUser := "nexus",
dockerBaseImage := "eclipse-temurin:11-jre",
dockerBaseImage := "eclipse-temurin:17-jre",
dockerBuildxPlatforms := Seq("linux/arm64/v8", "linux/amd64"),
dockerExposedPorts := Seq(8080),
dockerUsername := Some("bluebrain"),
dockerUpdateLatest := false,
dockerChmodType := DockerChmodType.UserGroupWriteExecute
dockerChmodType := DockerChmodType.UserGroupWriteExecute,
dockerEnvVars := Map(
"JAVA_OPTS" -> "--add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED"
)
)
}

Expand Down

0 comments on commit a05549e

Please sign in to comment.