-
Notifications
You must be signed in to change notification settings - Fork 62
/
build.sbt
64 lines (43 loc) · 1.94 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
organization := "com.sclasen"
name := "akka-kafka"
version := "0.2.2-SNAPSHOT"
scalaVersion := "2.11.7"
crossScalaVersions := Seq("2.11.7", "2.10.4")
parallelExecution in Test := false
//resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
resolvers += "spray repo" at "http://repo.spray.io"
libraryDependencies += "com.typesafe.akka" %% "akka-actor" % "2.4.0" % "compile"
libraryDependencies += "com.typesafe.akka" %% "akka-slf4j" % "2.4.0" % "test,it"
libraryDependencies += "org.apache.kafka" %% "kafka" % "0.8.2.2" exclude("log4j", "log4j") exclude("org.slf4j","slf4j-log4j12")
libraryDependencies += "com.typesafe.akka" %% "akka-testkit" % "2.4.0" % "test,it"
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.1" % "test,it"
libraryDependencies += "commons-io" % "commons-io" % "2.4" % "test,it"
libraryDependencies += "org.slf4j" % "log4j-over-slf4j" % "1.7.10" % "provided"
parallelExecution in Test := false
pomExtra := (
<url>http://github.com/sclasen/akka-kafka</url>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:sclasen/akka-kafka.git</url>
<connection>scm:git:[email protected]:sclasen/akka-kafka.git</connection>
</scm>
<developers>
<developer>
<id>sclasen</id>
<name>Scott Clasen</name>
<url>http://github.com/sclasen</url>
</developer>
</developers>)
publishTo <<= version {
(v: String) =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT")) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
val root = Project("akka-kafka", file(".")).configs(IntegrationTest).settings(Defaults.itSettings:_*)