-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
38 lines (31 loc) · 1.36 KB
/
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
37
38
name := "testing-without-mocking"
version := "0.1"
scalaVersion := "2.12.8"
scalacOptions ++= Seq(
"-deprecation", // Emit warning and location for usages of deprecated APIs.
"-explaintypes", // Explain type errors in more detail.
"-feature", // Emit warning and location for usages of features that should be imported explicitly.
"-unchecked", // Enable additional warnings where generated code depends on assumptions.
"-Xcheckinit", // Wrap field accessors to throw an exception on uninitialized access.
"-language:higherKinds",
"-Ypartial-unification",
)
val compilerPlugins = Seq(
compilerPlugin("io.tryp" % "splain" % "0.3.5" cross CrossVersion.patch),
compilerPlugin("com.softwaremill.clippy" %% "plugin" % "0.5.3" classifier "bundle"),
compilerPlugin("org.spire-math" %% "kind-projector" % "0.9.8"),
compilerPlugin("com.olegpy" %% "better-monadic-for" % "0.2.4")
)
val cats = Seq(
"org.typelevel" %% "cats-core" % "1.5.0",
"org.typelevel" %% "cats-mtl-core" % "0.4.0",
"org.typelevel" %% "cats-effect" % "1.2.0",
"org.typelevel" %% "cats-tagless-macros" % "0.1.0",
"com.olegpy" %% "meow-mtl" % "0.2.0",
)
val scalatest = Seq(
"org.scalactic" %% "scalactic" % "3.0.4",
"org.scalatest" %% "scalatest" % "3.0.5",
"com.ironcorelabs" %% "cats-scalatest" % "2.3.1"
).map(_ % Test)
libraryDependencies ++= compilerPlugins ++ cats ++ scalatest