Skip to content

Commit

Permalink
Update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
hugo-vrijswijk committed Dec 7, 2023
1 parent c1ab70e commit 4953786
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import org.scalajs.linker.interface.{ESFeatures, ESVersion}
import _root_.io.github.davidgregory084.{DevMode, ScalacOption}
import org.typelevel.scalacoptions.{ScalacOption, ScalacOptions}
import org.typelevel.sbt.tpolecat.DevMode

// Skip publish root
publish / skip := true
Expand Down Expand Up @@ -48,7 +49,7 @@ lazy val WeaponRegeX = projectMatrix
name := "weapon-regex",
libraryDependencies += "com.lihaoyi" %%% "fastparse" % "3.0.2",
libraryDependencies += "org.scalameta" %%% "munit" % "0.7.29" % Test,
tpolecatScalacOptions += ScalacOptions.source3,
tpolecatScalacOptions ++= Set(ScalacOptions.source3, ScalacOptions.release("8")),
tpolecatExcludeOptions ++= Set(ScalacOptions.warnNonUnitStatement, ScalacOptions.warnUnusedNoWarn)
)
.jvmPlatform(
Expand All @@ -64,7 +65,7 @@ lazy val WeaponRegeX = projectMatrix
// Add JS-specific settings here
scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.ESModule)
.withESFeatures(ESFeatures.Defaults.withESVersion(ESVersion.ES2020))),
scalacOptions += scalaJSSourceUri.value
tpolecatScalacOptions += ScalacOptions.other(scalaJSSourceUri.value)
)
)

Expand Down

0 comments on commit 4953786

Please sign in to comment.