-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.sbt
36 lines (32 loc) · 859 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
35
36
val catsVersion = "2.1.0"
val commonSettings = Seq(
organization := "org.typelevel",
scalacOptions ++= Seq(
"-language:higherKinds",
"-deprecation"
),
addCompilerPlugin("org.typelevel" % "kind-projector" % "0.11.0" cross CrossVersion.full),
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % catsVersion,
"com.github.mpilquist" %% "simulacrum" % "0.19.0"
)
)
val core = project
.in(file("core"))
.settings(commonSettings)
val laws = project
.in(file("laws"))
.settings(commonSettings)
.settings(
libraryDependencies +=
"org.typelevel" %% "cats-laws" % catsVersion
)
.dependsOn(core)
val tests = project
.in(file("tests"))
.settings(commonSettings)
.settings(
libraryDependencies +=
"org.typelevel" %% "cats-testkit-scalatest" % "1.0.0-RC1" % Test
)
.dependsOn(core, laws)