-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.sbt
55 lines (52 loc) · 1.52 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
55
lazy val root = (project in file("."))
.settings(name := "vibes")
// Global settings for all projects
.settings(
inThisBuild(
Seq(
version := "0.0.1",
scalaVersion := Dependencies.scalaVersion,
scalacOptions ++= Seq(
// Enable essential warnings
"-deprecation",
"-feature",
"-unchecked",
"-Xlint:-unused,_", // Linter enabled except setting Ywarn-unused implicitly
"-Ywarn-unused:-imports", // don't warn if imports are unused for now
// Fail on compiler warnings
"-Xfatal-warnings"
)
)
)
)
.aggregate(
server
)
val circeVersion = "0.9.0"
lazy val server = (project in file("server"))
.settings(
name := "server",
resolvers += Resolver.bintrayRepo("hseeberger", "maven"),
libraryDependencies ++= Seq(
Dependencies.akkaActor,
Dependencies.akkaStream,
Dependencies.akkaHttp,
Dependencies.akkaTestkit,
Dependencies.akkaStream,
Dependencies.scalaTime,
Dependencies.scalaTest,
Dependencies.slf4jApi,
Dependencies.slf4jLog,
Dependencies.scalaLogging,
Dependencies.logback,
Dependencies.breeze,
Dependencies.breezeNatives,
Dependencies.breezeViz,
"de.heikoseeberger" %% "akka-http-circe" % "1.20.0-RC1",
"ch.megard" %% "akka-http-cors" % "0.2.2"
) ++ Seq(
"io.circe" %% "circe-core",
"io.circe" %% "circe-generic",
"io.circe" %% "circe-parser"
).map(_ % circeVersion)
)