Skip to content

Commit

Permalink
Merge pull request #806 from mkurz/release_17
Browse files Browse the repository at this point in the history
Target Java 17
  • Loading branch information
mkurz authored Feb 22, 2025
2 parents d0af0d4 + 4070361 commit df38ab9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scala/isolated-slick/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ val FlywayVersion = "10.21.0"
"-Xlint",
"-Ywarn-numeric-widen"
)
(ThisBuild / javacOptions) ++= Seq("--release", "11")
(ThisBuild / javacOptions) ++= Seq("--release", "17")

lazy val flyway = (project in file("modules/flyway"))
.enablePlugins(FlywayPlugin)
Expand Down
4 changes: 2 additions & 2 deletions scala/rest-api/project/Common.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ object Common extends AutoPlugin {
override def projectSettings = Seq(
organization := "com.example",
version := "1.0-SNAPSHOT",
javacOptions ++= Seq("--release", "11"),
javacOptions ++= Seq("--release", "17"),
scalacOptions ++= Seq(
"-release",
"11", // yes, this is 2 args (could also be done as -release:11 however)
"17", // yes, this is 2 args (could also be done as -release:17 however)
) ++ (CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, _)) =>
Seq(
Expand Down

0 comments on commit df38ab9

Please sign in to comment.