Skip to content

Commit

Permalink
Update Scala, plugins and dependencies versions (#492)
Browse files Browse the repository at this point in the history
* Update Scala, plugins and dependencies versions

* Fix warnings in mdoc

---------

Co-authored-by: Chris Birchall <[email protected]>
  • Loading branch information
bio-aeon and cb372 authored Mar 14, 2024
1 parent c59fc4d commit 90d7f5c
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 21 deletions.
31 changes: 18 additions & 13 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import sbtcrossproject.CrossPlugin.autoImport.crossProject
import _root_.io.github.davidgregory084.TpolecatPlugin.autoImport._
import _root_.org.typelevel.sbt.tpolecat.TpolecatPlugin.autoImport._
import _root_.org.typelevel.scalacoptions.ScalacOptions

lazy val scalaVersion212 = "2.12.17"
lazy val scalaVersion213 = "2.13.10"
lazy val scalaVersion3 = "3.2.1"
lazy val scalaVersion212 = "2.12.19"
lazy val scalaVersion213 = "2.13.13"
lazy val scalaVersion3 = "3.3.3"
lazy val scalaVersions = List(scalaVersion212, scalaVersion213, scalaVersion3)

inThisBuild(
Expand Down Expand Up @@ -35,11 +36,11 @@ inThisBuild(
)
)

val catsVersion = "2.9.0"
val catsEffectVersion = "3.4.2"
val catsMtlVersion = "1.3.0"
val scalatestVersion = "3.2.14"
val scalaTestPlusVersion = "3.2.14.0"
val catsVersion = "2.10.0"
val catsEffectVersion = "3.5.4"
val catsMtlVersion = "1.4.0"
val scalatestVersion = "3.2.18"
val scalaTestPlusVersion = "3.2.18.0"
val scalacheckVersion = "1.17.0"
val disciplineVersion = "2.2.0"

Expand All @@ -60,7 +61,8 @@ val core = crossProject(JVMPlatform, JSPlatform)
mimaPreviousArtifacts := Set(
"com.github.cb372" %%% "cats-retry" % "3.1.0"
),
tpolecatExcludeOptions += ScalacOptions.lintPackageObjectClasses
tpolecatExcludeOptions += ScalacOptions.lintPackageObjectClasses,
Test / tpolecatExcludeOptions += ScalacOptions.warnNonUnitStatement
)
.jsSettings(
// work around https://github.com/typelevel/sbt-tpolecat/issues/102
Expand All @@ -86,7 +88,8 @@ val alleycatsRetry = crossProject(JVMPlatform, JSPlatform)
),
mimaPreviousArtifacts := Set(
"com.github.cb372" %%% "alleycats-retry" % "3.1.0"
)
),
Test / tpolecatExcludeOptions += ScalacOptions.warnNonUnitStatement
)
.jsSettings(
tpolecatScalacOptions += ScalacOptions
Expand All @@ -109,7 +112,8 @@ val mtlRetry = crossProject(JVMPlatform, JSPlatform)
mimaPreviousArtifacts := Set(
"com.github.cb372" %%% "cats-retry-mtl" % "3.1.0"
),
tpolecatExcludeOptions += ScalacOptions.lintPackageObjectClasses
tpolecatExcludeOptions += ScalacOptions.lintPackageObjectClasses,
Test / tpolecatExcludeOptions += ScalacOptions.warnNonUnitStatement
)
.jsSettings(
// work around https://github.com/typelevel/sbt-tpolecat/issues/102
Expand All @@ -125,9 +129,10 @@ val docs = project
.enablePlugins(MicrositesPlugin, BuildInfoPlugin)
.settings(
addCompilerPlugin(
"org.typelevel" %% "kind-projector" % "0.13.2" cross CrossVersion.full
"org.typelevel" %% "kind-projector" % "0.13.3" cross CrossVersion.full
),
tpolecatExcludeOptions ++= ScalacOptions.warnUnusedOptions,
tpolecatExcludeOptions += ScalacOptions.warnNonUnitStatement,
crossScalaVersions := Nil,
buildInfoPackage := "retry",
publishArtifact := false,
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.8.0
sbt.version=1.9.8
14 changes: 7 additions & 7 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
addSbtPlugin("com.47deg" % "sbt-microsites" % "1.4.0")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.11")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.12.0")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.2.0")
addSbtPlugin("com.47deg" % "sbt-microsites" % "1.4.4")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.15.0")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2")
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.1")
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.1")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.3")
addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.0")

0 comments on commit 90d7f5c

Please sign in to comment.