From 51bdc6041ae372b0fb4cdbe94b7b2f1a8374e79a Mon Sep 17 00:00:00 2001 From: Robert Karasev <100449801+KarasevRob@users.noreply.github.com> Date: Mon, 17 Aug 2026 17:27:08 +0400 Subject: [PATCH] fix(scala): target Java 8 bytecode for fory-scala --- scala/build.sbt | 1 + 1 file changed, 1 insertion(+) diff --git a/scala/build.sbt b/scala/build.sbt index 6a648dd54d..ef794ec85d 100644 --- a/scala/build.sbt +++ b/scala/build.sbt @@ -65,6 +65,7 @@ lazy val foryScala = Project(id = "fory-scala", base = file("fory-scala")) .settings(commonSettings) .settings( name := "fory-scala", + Compile / javacOptions ++= Seq("--release", "8"), libraryDependencies ++= Seq( "org.apache.fory" % "fory-core" % foryVersion, "org.scalatest" %% "scalatest" % "3.2.19" % Test,