Skip to content

Commit

Permalink
Do not differentiate between native and non-native for refined
Browse files Browse the repository at this point in the history
  • Loading branch information
hamnis committed May 13, 2024
1 parent 9d50fff commit 3860202
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ ThisBuild / circeRootOfCodeCoverage := Some("rootJVM")
val catsVersion = "2.10.0"
val jawnVersion = "1.5.1"
val shapelessVersion = "2.3.10"
val refinedVersion = "0.9.29"
val refinedNativeVersion = "0.11.1"
val refinedVersion = "0.11.1"

val paradiseVersion = "2.1.1"

Expand Down Expand Up @@ -333,12 +332,9 @@ lazy val refined = circeCrossModule("refined")
.settings(
tlVersionIntroduced += "3" -> "0.14.3",
libraryDependencies ++= {
val refinedV =
if (crossProjectPlatform.value == NativePlatform) refinedNativeVersion
else refinedVersion
Seq(
"eu.timepit" %%% "refined" % refinedV,
"eu.timepit" %%% "refined-scalacheck" % refinedV % Test
"eu.timepit" %%% "refined" % refinedVersion,
"eu.timepit" %%% "refined-scalacheck" % refinedVersion % Test
)
},
dependencyOverrides ++= Seq(
Expand Down

0 comments on commit 3860202

Please sign in to comment.