Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Although we're _building_ with Java 21, we're also updating the minimum supported
Java version from Java 8 to Java 11:

#442 (review)

We can do this because the artifact published by this repo:

"com.gu" %% "janus-config-tools" % "1.0.0"
https://index.scala-lang.org/guardian/janus-app/artifacts/janus-config-tools

...is only consumed by these two apps, Janus & Security HQ:

* guardian/janus#3947
* guardian/security-hq#413

....both of which are now running on Java 11.
  • Loading branch information
rtyley committed May 21, 2024
1 parent c4ec779 commit 5d660c2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,3 @@ crashlytics-build.properties
.bsp/
.metals/
.vscode/

# asdf
.tool-versions
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
java corretto-21.0.3.9.1
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ lazy val commonSettings = Seq(
"-deprecation",
"-feature",
"-unchecked",
"-release:8",
"-release:11",
"-Xfatal-warnings"
),
Test / testOptions ++= Seq(
Expand Down

1 comment on commit 5d660c2

@tjsilver
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥇

Please sign in to comment.