Skip to content

Commit

Permalink
build(deps): update sbt-tpolecat from 0.4.4 to 0.5.0 (#240)
Browse files Browse the repository at this point in the history
* build(deps): update sbt-tpolecat from 0.4.4 to 0.5.0

* Revert commit(s) ef0475e

* build(deps): update sbt-tpolecat from 0.4.4 to 0.5.0

* Revert commit(s) f6b0e02

* build(deps): update sbt-tpolecat from 0.4.4 to 0.5.0

* Revert commit(s) 5063e35

* build(deps): update sbt-tpolecat from 0.4.4 to 0.5.0

* Revert commit(s) 58cda2c

* build(deps): update sbt-tpolecat from 0.4.4 to 0.5.0

* Update imports

---------

Co-authored-by: Hugo van Rijswijk <[email protected]>
  • Loading branch information
scala-steward and hugo-vrijswijk authored Dec 7, 2023
1 parent 2e4bb9c commit eff9052
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
addSbtPlugin("io.stryker-mutator" % "sbt-stryker4s" % "0.15.2")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.5.1")
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.4")
addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.0")

0 comments on commit eff9052

Please sign in to comment.