Skip to content

Commit

Permalink
-Xsource:3-cross
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Sep 1, 2024
1 parent a1f70ec commit bed3e32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ val basicSettings = Seq(

scalacOptions ++= {
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, _)) =>
case Some((2, 12)) =>
Seq("-Xsource:3")
case Some((2, 13)) =>
Seq("-Xsource:3-cross")
case _ =>
Nil
}
Expand Down

0 comments on commit bed3e32

Please sign in to comment.