Skip to content

Commit

Permalink
A workaround to build Java 8 bytecode using Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
plokhotnyuk committed Sep 19, 2022
1 parent 191f268 commit d5f4e35
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ThisBuild / tlSonatypeUseLegacyHost := true

ThisBuild / crossScalaVersions := Seq(scala212, scala213, scala3)
ThisBuild / scalaVersion := scala213 // the default Scala
ThisBuild / githubWorkflowJavaVersions += JavaSpec.temurin("11")

lazy val root = tlCrossRootProject.aggregate(core, circe, jsoniterScala, polyline).settings(name := "geo-scala")

Expand All @@ -25,6 +26,9 @@ lazy val commonSettings = Seq(
"org.scalatestplus" %%% "scalacheck-1-16" % "3.2.13.0" % Test,
"org.scalacheck" %%% "scalacheck" % "1.16.0" % Test
),
scalacOptions ++= Seq(
"-release 8"
),
// disable MiMa until we have proper version released on gnieh / all platforms
// once removed, the tlBaseVersion has to adjusted as well
mimaPreviousArtifacts := Set.empty
Expand Down

0 comments on commit d5f4e35

Please sign in to comment.