-
Notifications
You must be signed in to change notification settings - Fork 13
/
build.sbt
66 lines (54 loc) · 1.98 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
name := "finagle-kafka"
description := "An Apache Kafka client in Netty and Finagle."
organization := "com.github.okapies"
organizationHomepage := Some(url("https://github.com/okapies"))
version := "0.2.3-SNAPSHOT"
scalaVersion := "2.11.12"
crossScalaVersions := Seq("2.11.12")
libraryDependencies ++= List(
"com.twitter" %% "finagle-core" % "19.5.1",
"com.twitter" %% "finagle-netty4" % "19.5.1",
"org.apache.kafka" %% "kafka" % "0.8.2.1"
exclude("com.101tec", "zkclient")
exclude("com.yammer.metrics", "metrics-core")
exclude("net.sf.jopt-simple", "jopt-simple")
exclude("org.apache.zookeeper", "zookeeper")
exclude("org.xerial.snappy", "snappy-java"),
"org.scalatest" %% "scalatest" % "3.0.5" % "test",
// dependencies for kafka-test
"junit" % "junit" % "4.12" % "test",
"org.apache.curator" % "curator-test" % "4.1.0" % "test",
"com.101tec" % "zkclient" % "0.11" % "test",
"com.yammer.metrics" % "metrics-core" % "2.2.0" % "test",
"org.apache.kafka" %% "kafka" % "0.8.2.1" % "test" classifier "test"
)
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT"))
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://github.com/okapies/finagle-kafka</url>
<licenses>
<license>
<name>The MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:okapies/finagle-kafka.git</url>
<connection>scm:git:[email protected]:okapies/finagle-kafka.git</connection>
</scm>
<developers>
<developer>
<id>okapies</id>
<name>Yuta Okamoto</name>
<url>https://github.com/okapies</url>
</developer>
</developers>)