-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
55 lines (42 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
// see http://www.scala-sbt.org/1.0/docs/Multi-Project.html
// setting up the common settings
lazy val commonSettings = Seq(
organization := "Vishnu",
version := "0.9",
scalaVersion := "2.11.11",
// Dependencies
libraryDependencies ++= Seq (
"com.typesafe.akka" %% "akka-stream" % "2.5.8",
"com.typesafe.akka" %% "akka-remote" % "2.5.8",
"com.typesafe.akka" %% "akka-cluster"% "2.5.8",
"com.typesafe.akka" %% "akka-cluster-tools" % "2.5.8",
"com.typesafe.akka" %% "akka-slf4j" % "2.5.8",
"ch.qos.logback" % "logback-classic" % "1.2.3",
"com.amazonaws" % "aws-java-sdk-s3" % "1.11.255",
"org.fusesource" % "sigar" % "1.6.4",
"com.github.scopt" %% "scopt" % "3.5.0",
"org.apache.commons" % "commons-lang3" % "3.1"
),
// Scala compiler options
scalacOptions ++= Seq(
"-deprecation",
"-unchecked",
"-feature",
"-optimise",
"-explaintypes",
"-encoding", "UTF-8",
"-Xlint"
),
PB.targets in Compile := Seq(
scalapb.gen() -> (sourceManaged in Compile).value
)
)
// the three sub-projects within this project
lazy val common = project.in(file("common"))
.settings(commonSettings: _*)
lazy val agent = project.in(file("agent"))
.settings(commonSettings: _*)
.dependsOn(common)
lazy val server = project.in(file("server"))
.settings(commonSettings: _*)
.dependsOn(common)