Skip to content

Commit

Permalink
Update build.sbt
Browse files Browse the repository at this point in the history
Signed-off-by: Kamil Adam <kamil.adam.zabinski@gmail.com>
  • Loading branch information
kamil-adam authored Aug 11, 2023
1 parent 2421951 commit 730d687
Showing 1 changed file with 32 additions and 27 deletions.
59 changes: 32 additions & 27 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -24,37 +24,42 @@ lazy val root = tlCrossRootProject
lazy val catsVersion = "2.9.0"
lazy val catsEffectVersion = "3.5.1"

lazy val core = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.crossType(CrossType.Pure)
.in(file("core"))
.settings(
name := "catculus",
moduleName := "catculus-core",
lazy val coreSettings = Seq(
name := "catculus",
moduleName := "catculus-core",

libraryDependencies ++= Seq(
"org.typelevel" %%% "cats-kernel" % catsVersion,
"org.typelevel" %%% "cats-core" % catsVersion,
"org.typelevel" %%% "cats-laws" % catsVersion,
"org.typelevel" %%% "cats-free" % catsVersion,
"org.typelevel" %%% "cats-testkit" % catsVersion,
"org.typelevel" %%% "algebra" % catsVersion,
),
libraryDependencies ++= Seq(
"org.typelevel" %%% "cats-kernel" % catsVersion,
"org.typelevel" %%% "cats-core" % catsVersion,
"org.typelevel" %%% "cats-laws" % catsVersion,
"org.typelevel" %%% "cats-free" % catsVersion,
"org.typelevel" %%% "cats-testkit" % catsVersion,
"org.typelevel" %%% "algebra" % catsVersion,
),

libraryDependencies ++= Seq(
"org.typelevel" %%% "cats-effect" % catsEffectVersion,
"org.typelevel" %%% "cats-effect-kernel" % catsEffectVersion,
"org.typelevel" %%% "cats-effect-laws" % catsEffectVersion % Test
),
libraryDependencies ++= Seq(
"org.typelevel" %%% "cats-effect" % catsEffectVersion,
"org.typelevel" %%% "cats-effect-kernel" % catsEffectVersion,
"org.typelevel" %%% "cats-effect-laws" % catsEffectVersion % Test
),

libraryDependencies += "org.typelevel" %%% "cats-mtl" % "1.3.1",
libraryDependencies += "org.typelevel" %%% "kittens" % "3.0.0",
libraryDependencies += "org.typelevel" %%% "mouse" % "1.2.1",
libraryDependencies ++= Seq(
"org.typelevel" %%% "cats-mtl" % "1.3.1",
"org.typelevel" %%% "kittens" % "3.0.0",
"org.typelevel" %%% "mouse" % "1.2.1",
),
libraryDependencies ++= Seq(
"co.fs2" %%% "fs2-core" % "3.8.0",
"org.scalacheck" %%% "scalacheck" % "1.17.0" % "test",
"org.typelevel" %%% "discipline-core" % "1.5.1",
"org.typelevel" %%% "spire" % "0.18.0",
),
)

libraryDependencies += "co.fs2" %%% "fs2-core" % "3.8.0",
libraryDependencies += "org.scalacheck" %%% "scalacheck" % "1.17.0" % "test",
libraryDependencies += "org.typelevel" %%% "discipline-core" % "1.5.1",
libraryDependencies += "org.typelevel" %%% "spire" % "0.18.0",
)
lazy val core = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.crossType(CrossType.Pure)
.in(file("core"))
.settings(coreSettings)
.jsSettings(
tlVersionIntroduced ~= {
_ ++ List("2.12", "2.13").map(_ -> "1.0.2").toMap
Expand Down

0 comments on commit 730d687

Please sign in to comment.