This repository has been archived by the owner on May 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
/
build.sbt
46 lines (42 loc) · 1.99 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
import Dependencies._
name := "kafka-streams-scala"
organization := "com.lightbend"
version := "0.2.1"
scalaVersion := Versions.Scala_2_12_Version
crossScalaVersions := Versions.CrossScalaVersions
scalacOptions := Seq("-Xexperimental", "-unchecked", "-deprecation", "-Ywarn-unused-import")
licenses := Seq("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt"))
developers := List(
Developer("debasishg", "Debasish Ghosh", "@debasishg", url("https://github.com/debasishg")),
Developer("blublinsky", "Boris Lublinsky", "@blublinsky", url("https://github.com/blublinsky")),
Developer("maasg", "Gerard Maas", "@maasg", url("https://github.com/maasg"))
)
organizationName := "lightbend"
organizationHomepage := Option(url("http://lightbend.com/"))
homepage := scmInfo.value map (_.browseUrl)
scmInfo := Option(
ScmInfo(url("https://github.com/lightbend/kafka-streams-scala"), "[email protected]:lightbend/kafka-streams-scala.git")
)
parallelExecution in Test := false
testFrameworks += new TestFramework("minitest.runner.Framework")
libraryDependencies ++= Seq(
kafkaStreams excludeAll (ExclusionRule("org.slf4j", "slf4j-log4j12"), ExclusionRule("org.apache.zookeeper",
"zookeeper")),
scalaLogging % "test",
logback % "test",
kafka % "test" excludeAll (ExclusionRule("org.slf4j", "slf4j-log4j12"), ExclusionRule("org.apache.zookeeper",
"zookeeper")),
curator % "test",
minitest % "test",
minitestLaws % "test",
algebird % "test",
chill % "test",
avro4s % "test"
)
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
else Option("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishArtifact in Test := true