-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sbt
39 lines (34 loc) · 1.33 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
pgpPassphrase := Some(getEnvVar("PGP_PASSPHRASE").getOrElse("").toCharArray)
pgpPublicRing := file(s"$gpgFolder/pubring.gpg")
pgpSecretRing := file(s"$gpgFolder/secring.gpg")
lazy val freesV = "0.5.1"
lazy val commonDependencies: Seq[ModuleID] = Seq(
%%("cats-core"),
%%("frees-async",freesV),
%%("frees-config",freesV),
%("kafka-clients"),
%("kafka-streams"))
lazy val testDependencies: Seq[ModuleID] = Seq(
%%("scalatest") % "test",
%%("scalamockScalatest") % "test",
%%("scalacheck") % "test",
"org.slf4j" % "slf4j-api" % "1.7.25" % "test",
"org.slf4j" % "log4j-over-slf4j" % "1.7.25" % "test",
"ch.qos.logback" % "logback-classic" % "1.2.3" % "test",
"net.manub" %% "scalatest-embedded-kafka" % "1.0.0" % "test",
"net.manub" %% "scalatest-embedded-kafka-streams" % "1.0.0" % "test"
)
lazy val root = project
.in(file("."))
.settings(name := "freestyle-kafka")
.settings(noPublishSettings)
.settings(scalaMetaSettings)
.dependsOn(core)
.aggregate(core)
lazy val core = project
.in(file("core"))
.settings(moduleName := "freestyle-kafka-core")
.settings(scalaMetaSettings)
.settings(parallelExecution in Test := false)
.settings(libraryDependencies ++= commonDependencies)
.settings(libraryDependencies ++= testDependencies)