-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
59 lines (49 loc) · 1.7 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
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "2.13.8"
val scalatestVersion = "3.2.11"
val scalatest = "org.scalatest" %% "scalatest" % scalatestVersion % Test
lazy val KafkaAvroSerializerVersion = "5.3.0"
lazy val root = (project in file("."))
.settings(
name := "lunatech-aakash-choudhary",
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-stream" % "2.7.0-M1",
"com.typesafe.akka" %% "akka-slf4j" % "2.7.0-M1",
"com.datastax.oss" % "java-driver-core" % "4.15.0",
scalatest
)
).aggregate(consumer,producer,dataSource).dependsOn(consumer,producer)
lazy val producer = project
.in(file("producer"))
.settings(
name := "producer",
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-http" % "10.2.10",
"com.typesafe.akka" %% "akka-stream-kafka" % "2.0.6",
"org.apache.kafka" %% "kafka-streams-scala" % "2.8.1",
"com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.12.1",
scalatest
)
).dependsOn(dataSource)
lazy val consumer = project
.in(file("consumer"))
.settings(
name := "consumer",
libraryDependencies ++= Seq(
"com.datastax.cassandra" % "cassandra-driver-core" % "4.0.0",
// "com.typesafe.akka" %% "akka-stream-kafka" % "2.0.6",
scalatest
)
).dependsOn(producer)
lazy val dataSource = project
.in(file("dataSource"))
.settings(
name := "dataSource",
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-http" % "10.2.10",
"com.typesafe.akka" %% "akka-stream" % "2.7.0-M1",
"io.circe" %% "circe-core" % "0.14.1",
"io.circe" %% "circe-generic" % "0.14.1",
"io.circe" %% "circe-parser" % "0.14.1"
)
)