This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
/
build.sbt
61 lines (49 loc) · 2.22 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
56
57
58
59
60
61
/*
* Copyright (C) 2017-2019 Lightbend
*
* This file is part of the Lightbend model-serving-tutorial (https://github.com/lightbend/model-serving-tutorial)
*
* The model-serving-tutorial is free software: you can redistribute it and/or modify
* it under the terms of the Apache License Version 2.0.
*
* 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 := "model-serving-tutorial"
version := "1.1.1"
scalaVersion in ThisBuild := "2.12.9" // "2.11.12"
scalacOptions in ThisBuild ++= Seq(
"-feature",
"-unchecked",
"-language:higherKinds",
"-language:postfixOps",
"-deprecation")
lazy val protobufs = (project in file("./protobufs"))
.settings(
PB.targets in Compile := Seq(
scalapb.gen() -> (sourceManaged in Compile).value))
lazy val configuration = (project in file("./configuration"))
lazy val client = (project in file("./client"))
.settings(libraryDependencies ++= Dependencies.clientDependencies)
.dependsOn(protobufs, configuration)
lazy val model = (project in file("./model"))
.settings(libraryDependencies ++= Dependencies.modelsDependencies)
.dependsOn(protobufs)
lazy val flinkserver = (project in file("./flinkserver"))
.settings(libraryDependencies ++= Dependencies.flinkDependencies)
.dependsOn(model, configuration)
lazy val sparkserver = (project in file("./sparkserver"))
.settings(libraryDependencies ++= Dependencies.sparkDependencies)
.dependsOn(model, configuration)
lazy val akkaserver = (project in file("./akkaserver"))
.settings(libraryDependencies ++= Dependencies.akkaServerDependencies)
.dependsOn(model, configuration)
lazy val tensorflowserver = (project in file("./tensorflowserver"))
.settings(libraryDependencies ++= Dependencies.akkaServerDependencies)
.settings(libraryDependencies ++= Seq(Dependencies.gson))
.dependsOn(model, configuration)
lazy val root = (project in file(".")).
aggregate(protobufs, client, model, configuration, flinkserver, sparkserver, akkaserver, tensorflowserver)