Skip to content

Commit

Permalink
Add inliner
Browse files Browse the repository at this point in the history
  • Loading branch information
mdedetrich committed Jan 26, 2024
1 parent 516f99a commit 9ba40f3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,17 @@ scalacOptions ++= Seq(
"-encoding",
"UTF-8"
)

ThisBuild / scalacOptions ++= {
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, n)) if n == 12 || n == 13 =>
Seq("-opt-inline-from:<sources>",
"-opt:l:inline")
case _ =>
Seq.empty
}
}

scriptedLaunchOpts += "-Xmx1024m"
scriptedLaunchOpts ++= Seq("-Dplugin.version=" + version.value)
scriptedLaunchOpts += "-debug"
Expand Down

0 comments on commit 9ba40f3

Please sign in to comment.