Skip to content

Commit

Permalink
Merge pull request #869 from cushon/i868
Browse files Browse the repository at this point in the history
Consider a -source and -target version for javac
  • Loading branch information
tgodzik authored Jan 15, 2025
2 parents 26d9d5a + 27f4910 commit 6e58b4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ val sharedNativeConfigure: Project => Project =
_.disablePlugins(ScalafixPlugin, MimaPlugin)

val sharedSettings = List(
javacOptions ++= Seq("-source", "1.8", "-target", "1.8"),
scalacOptions ++= {
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 11)) =>
Expand Down

0 comments on commit 6e58b4f

Please sign in to comment.