Skip to content

Commit

Permalink
Dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jatcwang committed Aug 29, 2024
1 parent 47a5ead commit 4946bcb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import sbtghactions.JavaSpec
import complete.DefaultParsers._
import sbt.Reference.display

val munitVersion = "0.7.29"
val catsVersion = "2.9.0"
val scalatestVersion = "3.2.16"
val weaverVersion = "0.8.3"
val munitVersion = "1.0.1"
val catsVersion = "2.12.0"
val scalatestVersion = "3.2.19"
val weaverVersion = "0.8.4"

val isScala3 = Def.setting {
// doesn't work well with >= 3.0.0 for `3.0.0-M1`
Expand Down Expand Up @@ -46,13 +46,13 @@ lazy val core = projectMatrix
.settings(
name := "difflicious-core",
libraryDependencies ++= Seq(
"dev.zio" %% "izumi-reflect" % "2.3.8",
"com.lihaoyi" %% "fansi" % "0.4.0",
"dev.zio" %% "izumi-reflect" % "2.3.10",
"com.lihaoyi" %% "fansi" % "0.5.0",
) ++ (if (isScala3.value) {
Seq("com.softwaremill.magnolia1_3" %% "magnolia" % "1.0.0")
Seq("com.softwaremill.magnolia1_3" %% "magnolia" % "1.3.7")
} else
Seq(
"com.softwaremill.magnolia1_2" %% "magnolia" % "1.0.0",
"com.softwaremill.magnolia1_2" %% "magnolia" % "1.1.10",
"org.scala-lang" % "scala-reflect" % Build.Scala213,
)),
Compile / sourceGenerators += Def.task {
Expand Down Expand Up @@ -126,7 +126,7 @@ lazy val coretest = projectMatrix
// Test deps
libraryDependencies ++= Seq(
"org.scalameta" %% "munit" % munitVersion,
"org.scalameta" %% "munit-scalacheck" % munitVersion,
"org.scalameta" %% "munit-scalacheck" % "1.0.0",
).map(_ % Test),
)
.jvmPlatform(jvmScalaVersions)
Expand Down Expand Up @@ -202,7 +202,7 @@ lazy val commonSettings = Seq(
versionScheme := Some("early-semver"),
scalacOptions ++= (if (isScala3.value) Seq.empty[String] else Seq("-Wmacros:after")),
libraryDependencies ++= Seq(
compilerPlugin("org.typelevel" %% "kind-projector" % "0.13.2" cross CrossVersion.full),
compilerPlugin("org.typelevel" %% "kind-projector" % "0.13.3" cross CrossVersion.full),
compilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1"),
).filterNot(_ => isScala3.value),
)
Expand Down
4 changes: 2 additions & 2 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import sbtprojectmatrix.ProjectMatrixPlugin.autoImport.virtualAxes

object Build {

val Scala213 = "2.13.11"
val Scala3 = "3.3.0"
val Scala213 = "2.13.14"
val Scala3 = "3.3.3"

// copied from: https://github.com/disneystreaming/smithy4s/blob/21a6fb04ab3485c0a4b40fe205a628c6f4750813/project/Smithy4sBuildPlugin.scala#L508
def createBuildCommands(projects: Seq[ProjectReference]) = {
Expand Down

0 comments on commit 4946bcb

Please sign in to comment.