forked from markus1189/runnersparadise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
54 lines (50 loc) · 1.63 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
lazy val libDeps = {
val http4sVersion = "0.15.3"
val circeVersion = "0.6.1"
val phantomVersion = "2.1.3"
val logbackVersion = "1.2.1"
Seq(
"org.http4s" %% "http4s-dsl" % http4sVersion,
"org.http4s" %% "http4s-blaze-server" % http4sVersion,
"org.http4s" %% "http4s-blaze-client" % http4sVersion,
"org.http4s" %% "http4s-circe" % http4sVersion,
"io.circe" %% "circe-generic" % circeVersion,
"com.outworkers" %% "phantom-dsl" % phantomVersion,
"ch.qos.logback" % "logback-classic" % logbackVersion
)
}
lazy val testDeps = {
val scalatestVersion = "3.0.1"
val scalaCheckVersion = "1.13.5"
val cassandraUnitVersion = "3.1.3.2"
Seq(
"org.scalatest" %% "scalatest" % scalatestVersion % "test",
"org.scalacheck" %% "scalacheck" % scalaCheckVersion % "test",
"org.cassandraunit" % "cassandra-unit" % cassandraUnitVersion % "test"
)
}
lazy val root = (project in file("."))
.settings(
name := "encodings",
scalaVersion := "2.12.1",
scalacOptions ++= Seq(
"-feature",
"-deprecation",
"-Xlint",
"-Yno-adapted-args",
"-Ywarn-dead-code",
"-Ywarn-inaccessible",
"-Ywarn-infer-any",
"-Ywarn-nullary-override",
"-Ywarn-nullary-unit",
"-Ywarn-unused",
"-Ywarn-value-discard",
"-Ypartial-unification",
"-language:implicitConversions",
"-language:higherKinds"
),
fork := true,
addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.9.3"),
libraryDependencies ++= libDeps,
libraryDependencies ++= testDeps
)