Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close #352 - Add refined4s as a dependency library for Scala 3 #353

Merged
merged 1 commit into from
Dec 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ lazy val core = module("core")
libraryDependencies ++= {
val scalaV = scalaVersion.value
if (scalaV.startsWith("3"))
List(libs.catsLib, libs.scalaXml)
List(libs.catsLib, libs.scalaXml) ++ libs.refined4s
else
List(libs.newTypeLib, libs.catsLib, libs.scalaXml)
},
Expand Down Expand Up @@ -145,6 +145,8 @@ lazy val props =

val ScalaXml2Version = "2.1.0"

val Refined4sVersion = "0.7.0"

val ExtrasVersion = "0.44.0"

}
Expand Down Expand Up @@ -176,6 +178,11 @@ lazy val libs =

lazy val newTypeLib = "io.estatico" %% "newtype" % "0.4.4"

lazy val refined4s = List(
"io.kevinlee" %% "refined4s-core" % props.Refined4sVersion,
"io.kevinlee" %% "refined4s-cats" % props.Refined4sVersion,
)

lazy val extrasCats = "io.kevinlee" %% "extras-cats" % props.ExtrasVersion
lazy val extrasScalaIo = "io.kevinlee" %% "extras-scala-io" % props.ExtrasVersion
lazy val extrasAll = List(extrasCats, extrasScalaIo)
Expand Down
Loading