-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
61 lines (57 loc) · 2.16 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
lazy val publishSettings = Seq(
publishMavenStyle := true,
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")
},
publishArtifact in Test := false,
pomIncludeRepository := { _ => false },
pomExtra := (
<url>https://github.com/divergence082/Kafka-Pipeline</url>
<licenses>
<license>
<name>BSD-style</name>
<url>http://www.opensource.org/licenses/bsd-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:divergence082/Kafka-Pipeline.git</url>
<connection>scm:git:[email protected]:divergence082/Kafka-Pipeline.git</connection>
<developerConnection>scm:git:[email protected]:divergence082/Kafka-Pipeline.git</developerConnection>
</scm>
<developers>
<developer>
<id>divergence082</id>
<name>Valeria Kononenko</name>
<email>[email protected]</email>
<url>http://divergence.space</url>
</developer>
</developers>)
)
lazy val kafkaPipeline = Project(
id = "kafka-pipeline",
base = file("."),
settings = Defaults.coreDefaultSettings ++ Defaults.itSettings ++ publishSettings ++ Seq(
organization := "space.divergence",
name := "kafka-pipeline",
version := "0.0.1",
scalaVersion := "2.11.8",
libraryDependencies ++= Seq(
"org.apache.kafka" %% "kafka" % "0.10.0.0"
exclude("org.slf4j", "slf4j-log4j12")
exclude("javax.jms", "jms")
exclude("com.sun.jdmk", "jmxtools")
exclude("com.sun.jmx", "jmxri"),
"ch.qos.logback" % "logback-classic" % "1.1.7",
"org.scalatest" %% "scalatest" % "3.0.0-RC1" % "test")))
.configs(IntegrationTest)
.settings(
testOptions in Test := Seq(Tests.Filter(s => s.endsWith("Test"))))
.settings(
scalastyleConfig in Compile := baseDirectory.value / "project" / "scalastyle-config.xml",
scalastyleConfig in Test := baseDirectory.value / "project" / "scalastyle-config.xml"
)