From 0a6ec2a346e185d0bf85343fae31b5b97423fe43 Mon Sep 17 00:00:00 2001 From: Zasco <35970970+Zasco@users.noreply.github.com> Date: Mon, 16 Dec 2024 08:27:08 -0500 Subject: [PATCH] upgrade to Java 11 (#19) * Update required Java version in README.md Java 11+ required for class file version 55. * upgrade to Java 11 --------- Co-authored-by: memo --- README.md | 2 +- build.sbt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b177726..3ec97e9 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Currently, this program only comes with a command-line interface (CLI). ## Usage - Prerequisites: - - Java 8+ (https://adoptium.net/installation/) + - Java 11+ (https://adoptium.net/installation/) - Enough disk space - On macOS and Linux (not needed on Windows): - Mono ([macOS](https://www.mono-project.com/docs/getting-started/install/)/[Linux](https://repology.org/project/mono/versions)): diff --git a/build.sbt b/build.sbt index 9dc86d8..f80ae1f 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ name := "sc4pac" ThisBuild / organization := "io.github.memo33" -ThisBuild / version := "0.5.0" +ThisBuild / version := "0.5.1-SNAPSHOT" // ThisBuild / versionScheme := Some("early-semver") @@ -22,9 +22,9 @@ ThisBuild / scalacOptions ++= Seq( "-Wvalue-discard", "-source:future", "-encoding", "UTF-8", - "-release:8") + "-release:11") -ThisBuild / javacOptions ++= Seq("--release", "8") +ThisBuild / javacOptions ++= Seq("--release", "11") console / initialCommands := """ import io.github.memo33.sc4pac.*