forked from jpzk/mockedstreams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
71 lines (59 loc) · 2.03 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
63
64
65
66
67
68
69
lazy val commonSettings = Seq(
organization := "com.madewithtea",
version := "1.6.0",
scalaVersion := "2.12.4",
crossScalaVersions := Seq("2.12.4","2.11.11"),
description := "Topology Unit-Testing Library for Apache Kafka / Kafka Streams",
organizationHomepage := Some(url("https://www.madewithtea.com")),
scalacOptions := Seq("-Xexperimental"))
val scalaTestVersion = "3.0.4"
val rocksDBVersion = "5.7.3"
val kafkaVersion = "1.0.1"
lazy val kafka = Seq(
"org.apache.kafka" % "kafka-clients" % kafkaVersion,
"org.apache.kafka" % "kafka-clients" % kafkaVersion classifier "test",
"org.apache.kafka" % "kafka-streams" % kafkaVersion,
"org.apache.kafka" % "kafka-streams" % kafkaVersion classifier "test",
"org.apache.kafka" %% "kafka" % kafkaVersion
)
lazy val scalaTest = "org.scalatest" %% "scalatest" % scalaTestVersion % "test"
lazy val rocksDB = "org.rocksdb" % "rocksdbjni" % rocksDBVersion % "test"
lazy val mockedstreams = (project in file(".")).
settings(commonSettings: _*).
settings(
libraryDependencies ++= Seq(
scalaTest,
rocksDB
) ++ kafka
)
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra := (
<url>https://www.madewithtea.com/pages/mocked-streams.html</url>
<licenses>
<license>
<name>Apache License Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:jpzk/mockedstreams.git</url>
<connection>scm:git:[email protected]:jpzk/mockedstreams.git</connection>
</scm>
<developers>
<developer>
<id>jpzk</id>
<name>Jendrik Poloczek</name>
<url>https://www.madewithtea.com</url>
</developer>
</developers>
)