Skip to content

Commit

Permalink
Merge pull request #539 from xuwei-k/update-scalac-options
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n authored Oct 19, 2024
2 parents cb81d77 + e544db5 commit 05d6d1d
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,21 @@ lazy val root = (project in file("."))
.enablePlugins(SbtPlugin, ContrabandPlugin)
.settings(nocomma {
name := "sbt-assembly"
scalacOptions := Seq(
"-Xsource:3",
scalacOptions ++= {
scalaBinaryVersion.value match {
case "3" =>
Nil
case _ =>
Seq(
"-Xsource:3",
"-Xfuture",
)
}
}
scalacOptions ++= Seq(
"-deprecation",
"-unchecked",
"-Dscalac.patmat.analysisBudget=1024",
"-Xfuture",
)
libraryDependencies += jarjar.cross(CrossVersion.for3Use2_13)
(pluginCrossBuild / sbtVersion) := {
Expand Down

0 comments on commit 05d6d1d

Please sign in to comment.