forked from metamx/rainer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
61 lines (43 loc) · 1.78 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
organization := "com.metamx"
name := "rainer"
scalaVersion := "2.9.1"
crossScalaVersions := Seq("2.9.1", "2.10.4")
lazy val root = project.in(file("."))
net.virtualvoid.sbt.graph.Plugin.graphSettings
resolvers ++= Seq(
"Metamarkets Releases" at "https://metamx.artifactoryonline.com/metamx/pub-libs-releases-local/"
)
publishMavenStyle := true
publishTo := Some("pub-libs" at "https://metamx.artifactoryonline.com/metamx/pub-libs-releases-local")
parallelExecution in Test := false
testOptions += Tests.Argument(TestFrameworks.JUnit, "-Duser.timezone=UTC")
releaseSettings
val curatorVersion = "2.3.0"
def ScalatraCross = CrossVersion.binaryMapped {
case "2.9.1" => "2.9.2"
case x => x
}
libraryDependencies ++= Seq(
"com.metamx" %% "scala-util" % "1.8.17",
"javax.servlet" % "javax.servlet-api" % "3.0.1",
"org.eclipse.jetty" % "jetty-servlet" % "8.1.10.v20130312",
"com.google.guava" % "guava" % "15.0",
"org.scalatra" % "scalatra" % "2.2.1" cross ScalatraCross
)
libraryDependencies ++= Seq(
"org.apache.curator" % "curator-framework" % curatorVersion exclude("org.jboss.netty", "netty"),
"org.apache.curator" % "curator-recipes" % curatorVersion exclude("org.jboss.netty", "netty"),
"org.apache.curator" % "curator-x-discovery" % curatorVersion exclude("org.jboss.netty", "netty")
)
libraryDependencies <+= scalaVersion {
case "2.9.1" => "com.simple" % "simplespec_2.9.2" % "0.7.0" % "test"
case "2.10.4" => "com.simple" % "simplespec_2.10.2" % "0.8.4" % "test"
}
libraryDependencies ++= Seq(
"org.apache.derby" % "derby" % "10.10.1.1" % "test",
"org.apache.curator" % "curator-test" % curatorVersion % "test",
"org.scalatra" % "scalatra-test" % "2.2.1" % "test" cross ScalatraCross
)
libraryDependencies ++= Seq(
"com.novocode" % "junit-interface" % "0.10" % "test"
)