-
Notifications
You must be signed in to change notification settings - Fork 24
/
build.sbt
34 lines (29 loc) · 1016 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
ThisBuild / tlBaseVersion := "2.0"
ThisBuild / developers += tlGitHubDev("mpilquist", "Michael Pilquist")
ThisBuild / startYear := Some(2021)
ThisBuild / crossScalaVersions := List("3.3.4", "2.12.20", "2.13.15")
ThisBuild / tlVersionIntroduced := Map("3" -> "1.0.2")
lazy val root = tlCrossRootProject.aggregate(core, munit)
lazy val core = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.settings(
name := "scalacheck-effect",
tlFatalWarnings := false
)
.settings(
libraryDependencies ++= List(
"org.scalacheck" %%% "scalacheck" % "1.17.1",
"org.typelevel" %%% "cats-core" % "2.11.0"
)
)
lazy val munit = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.settings(
name := "scalacheck-effect-munit",
testFrameworks += new TestFramework("munit.Framework")
)
.dependsOn(core)
.settings(
libraryDependencies ++= List(
"org.scalameta" %%% "munit-scalacheck" % "1.0.0-M11",
"org.typelevel" %%% "cats-effect" % "3.5.7" % Test
)
)