-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
38 lines (36 loc) · 2 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
import sbtassembly.AssemblyPlugin.defaultUniversalScript
lazy val root =
(project in file("."))
.enablePlugins(BuildInfoPlugin)
.settings(
name := "kafkash",
scalaVersion := "3.3.1",
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion),
buildInfoPackage := "io.univalence.kafkash",
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % libVersion.zio,
"dev.zio" %% "zio-streams" % libVersion.zio,
"org.apache.kafka" % "kafka-clients" % "2.8.1",
"ch.qos.logback" % "logback-core" % libVersion.logback,
"ch.qos.logback" % "logback-classic" % libVersion.logback,
"org.jline" % "jline-terminal" % libVersion.jline,
"org.jline" % "jline-reader" % libVersion.jline,
"org.jline" % "jline-builtins" % libVersion.jline,
"org.testcontainers" % "testcontainers" % libVersion.testcontainers % Test,
"org.testcontainers" % "kafka" % libVersion.testcontainers % Test,
"dev.zio" %% "zio-test" % libVersion.zio % Test,
"dev.zio" %% "zio-test-sbt" % libVersion.zio % Test,
"dev.zio" %% "zio-test-magnolia" % libVersion.zio % Test,
"org.scalatest" %% "scalatest" % "3.2.11" % Test
),
assemblyPrependShellScript := Some(defaultUniversalScript(shebang = false)),
assembly / assemblyJarName := s"${name.value}",
assembly / mainClass := Some("io.univalence.kafkash.KafkaShApp")
)
lazy val libVersion =
new {
val jline = "3.21.0"
val logback = "1.2.11"
val testcontainers = "1.16.3"
val zio = "2.0.0-RC5"
}