forked from wasted/netflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
62 lines (57 loc) · 1.43 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
62
lazy val `netflow-stream-lib` = project
.settings(Settings.common)
.settings(
libraryDependencies ++= Seq(
Deps.nettyBuffer,
Deps.akkaActor,
Deps.akkaStream,
),
)
lazy val `stream-util-model` = project
.settings(Settings.common)
.settings(
libraryDependencies ++= Seq(
Deps.akkaStream,
),
)
lazy val `stream-util` = project
.settings(Settings.common)
.settings(
libraryDependencies ++= Seq(
Deps.akkaStream,
),
libraryDependencies ++= Seq(
Deps.akkaTestkit,
Deps.scalatest,
).map(_ % Test),
)
.dependsOn(`stream-util-model`)
lazy val `udp-stream-util` = project
.settings(Settings.common)
.settings(
libraryDependencies ++= Seq(
Deps.akkaStream,
Deps.alpakkaUdp,
),
libraryDependencies ++= Seq(
Deps.akkaTestkit,
Deps.scalatest,
).map(_ % Test),
)
.dependsOn(`stream-util` % "test->test;compile->compile")
lazy val `netflow-receiver` = project
.settings(Settings.common)
.settings(
libraryDependencies ++= Seq(
Deps.alpakkaUdp,
),
libraryDependencies ++= Seq(
Deps.akkaTestkit,
Deps.scalatest,
).map(_ % Test),
)
.dependsOn(`stream-util` % "test->test;compile->compile", `udp-stream-util`, `netflow-stream-lib`)
.aggregate(`stream-util-model`, `stream-util`, `udp-stream-util`, `netflow-stream-lib`)
Global / onLoad += { (s: State) =>
"project netflow-receiver" :: s
}