-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
49 lines (44 loc) · 1.55 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
inThisBuild(
Seq(
organization := "com.olchovy",
version := "0.1.0-SNAPSHOT",
scalaVersion := "2.12.8",
scalacOptions := Seq("-deprecation", "-feature", "-language:_")
)
)
cancelable in Global := true
lazy val root = (project in file(".")).aggregate(common, api, gui)
val common = (project in file("common"))
.configs(IntegrationTest)
.settings(
Defaults.itSettings,
libraryDependencies ++= Seq(
"org.slf4j" % "slf4j-api" % "1.7.25",
"org.json4s" %% "json4s-native" % "3.6.3",
"com.twitter" %% "finagle-core" % "18.12.0",
"com.twitter" %% "finagle-http" % "18.12.0",
"com.google.cloud" % "google-cloud-language" % "1.56.0",
"com.google.cloud" % "google-cloud-speech" % "0.74.0-beta",
"io.grpc" % "grpc-netty-shaded" % "1.17.1",
"io.netty" % "netty-tcnative-boringssl-static" % "2.0.20.Final" classifier "osx-x86_64",
"org.scalatest" %% "scalatest" % "3.0.1" % "it,test",
"ch.qos.logback" % "logback-classic" % "1.2.3" % "it,test"
)
)
val api = (project in file("api"))
.settings(
libraryDependencies ++= Seq(
"ch.qos.logback" % "logback-classic" % "1.2.3",
"org.scalatest" %% "scalatest" % "3.0.1" % Test
),
fork in (Compile, run) := true,
mainClass in (Compile, run) := Some("com.olchovy.jamie.ApiServer")
)
.dependsOn(common)
val gui = (project in file("gui"))
.settings(
fork in (Compile, run) := true,
mainClass in (Compile, run) := Some("com.olchovy.jamie.WebAppServer")
)
.dependsOn(api)
.enablePlugins(GuiPlugin)