From 4990551fe2c99e7807bc4aac0c27347d4d5aed98 Mon Sep 17 00:00:00 2001 From: Andriy Plokhotnyuk Date: Mon, 19 Sep 2022 13:12:11 +0200 Subject: [PATCH] A workaround to build Java 8 bytecode using Java 11 --- build.sbt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.sbt b/build.sbt index 23e7a98..f44820d 100644 --- a/build.sbt +++ b/build.sbt @@ -16,6 +16,8 @@ ThisBuild / tlSonatypeUseLegacyHost := true ThisBuild / crossScalaVersions := Seq(scala212, scala213, scala3) ThisBuild / scalaVersion := scala213 // the default Scala +ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.temurin("8")) +ThisBuild / tlJdkRelease := Some(8) lazy val root = tlCrossRootProject.aggregate(core, circe, jsoniterScala, polyline).settings(name := "geo-scala")