-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.sbt
55 lines (44 loc) · 1.87 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
/*
* Copyright (C) 2017 Lightbend
*
* This file is part of flink-ModelServing
*
* flink-ModelServing is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
name := "FlinkModelServer"
version := "1.0"
scalaVersion in ThisBuild := "2.11.11"
lazy val protobufs = (project in file("./protobufs"))
.settings(
PB.targets in Compile := Seq(
PB.gens.java -> (sourceManaged in Compile).value,
scalapb.gen(javaConversions=true) -> (sourceManaged in Compile).value
)
)
lazy val client = (project in file("./client"))
.settings(libraryDependencies ++= Seq(Dependencies.kafka, Dependencies.curator))
.dependsOn(protobufs, configuration)
lazy val model = (project in file("./model"))
.settings(libraryDependencies ++= Dependencies.modelsDependencies)
.dependsOn(protobufs)
lazy val query = (project in file("./query"))
.settings(libraryDependencies ++= Dependencies.flinkDependencies ++ Seq(Dependencies.joda))
.dependsOn(model)
lazy val server = (project in file("./server"))
.settings(libraryDependencies ++= Dependencies.flinkDependencies)
.dependsOn(model, configuration)
lazy val wineserving = (project in file("./wineserving"))
.dependsOn(server)
lazy val configuration = (project in file("./configuration"))
lazy val root = (project in file(".")).
aggregate(protobufs, query, client, model, configuration, server, wineserving)