Skip to content

Commit

Permalink
Merge pull request #369 from theiterators/remove-cross-versions-for-s…
Browse files Browse the repository at this point in the history
…calacheck

Remove cross versions for scalacheck in build file
  • Loading branch information
rpiotrow authored Jun 7, 2024
2 parents 961a7c1 + 3296a6b commit c7540ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ lazy val doobieSettings = commonSettings ++ Seq(
)

lazy val coreSettings = commonMacroSettings ++ Seq(
libraryDependencies += (scalaCheck.value % "test").cross(CrossVersion.for3Use2_13),
libraryDependencies += (scalaCheck.value % "test"),
libraryDependencies += optionalEnumeratum
)

Expand Down Expand Up @@ -260,8 +260,8 @@ lazy val jsonschemaSettings = commonSettings ++ Seq(
)

lazy val scalacheckSettings = commonSettings ++ Seq(
libraryDependencies += scalacheck.cross(CrossVersion.for3Use2_13),
libraryDependencies += scalacheckEnumeratum.cross(CrossVersion.for3Use2_13),
libraryDependencies += scalacheck,
libraryDependencies += scalacheckEnumeratum,
) ++ Seq(
libraryDependencies ++= (if (scalaVersion.value.startsWith("3")) Seq(scalacheckDerived)
else Nil)) ++ Seq(libraryDependencies ++= (if(scalaVersion.value.startsWith("2")) Seq(scalacheckMagnolify.cross(CrossVersion.for3Use2_13)) else Nil))
Expand Down

0 comments on commit c7540ed

Please sign in to comment.