-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
26 lines (20 loc) · 815 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
name := "roboRace"
scalaVersion in ThisBuild := "2.12.6"
lazy val service = project.in(file("service"))
.dependsOn(gameLogic)
.settings(scalaTest)
lazy val gameLogic = project.in(file("gameLogic"))
.settings(folderSettings, monocle, scalaTest)
def folderSettings = Seq(
scalaSource in Compile := baseDirectory.value / "src",
scalaSource in Test := baseDirectory.value / "test"
)
def scalaTest = libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.5" % Test
def monocle = Seq(
libraryDependencies ++= Seq(
"com.github.julien-truffaut" %% "monocle-core" % "1.5.0",
"com.github.julien-truffaut" %% "monocle-macro" % "1.5.0",
"com.github.julien-truffaut" %% "monocle-unsafe" % "1.5.0"
),
addCompilerPlugin("org.scalamacros" %% "paradise" % "2.1.1" cross CrossVersion.full)
)