Skip to content

Instantly share code, notes, and snippets.

@RSchulz
Created August 10, 2012 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RSchulz/3315912 to your computer and use it in GitHub Desktop.
Save RSchulz/3315912 to your computer and use it in GitHub Desktop.
import net.box.sbt._
seq(BoxSettings.boxSettings :_*)
name := "box-common"
version := "1.112-SNAPSHOT"
crossScalaVersions := Seq("2.9.0-1", "2.9.1")
resolvers += "Box Dev Repo" at "http://maven.dev.box.net:8081/nexus/content/groups/public"
net.virtualvoid.sbt.graph.Plugin.graphSettings
libraryDependencies ++= Seq(
// runtime deps
// http://www.slf4j.org/images/concrete-bindings.png
"ch.qos.logback" % "logback-classic" % "0.9.29",
"com.weiglewilczek.slf4s" %% "slf4s" % "1.0.7",
// Let's us include libraries that use log4j without requiring log4j
"org.slf4j" % "log4j-over-slf4j" % "1.6.1",
"com.linkedin.norbert" % "norbert-cluster_2.8.0" % "0.6.1",
"com.google.protobuf" % "protobuf-java" % "2.4.0a",
"org.apache.httpcomponents" % "httpclient" % "4.1.1",
"org.apache.zookeeper" % "zookeeper" % "3.3.4" intransitive (),
"commons-io" % "commons-io" % "2.1",
"org.eclipse.jetty" % "jetty-servlet" % "7.4.5.v20110725",
"org.scalatra" %% "scalatra" % "2.0.3" intransitive(), // uses old specs2
"org.codehaus.jackson" % "jackson-mapper-asl" % "1.8.5",
"com.twitter" % "scala-zookeeper-client_2.9.0-1" % "3.0.2-box-59569ba" intransitive(), // from our fork at https://github.com/box/scala-zookeeper-client
"com.twitter" % "util-core" % "2.0.0",
"com.twitter" % "util-logging" % "2.0.0",
"net.liftweb" %% "lift-json" % "2.4",
"org.scalaz" %% "scalaz-core" % "6.0.4",
// metrics deps
"com.yammer.metrics" % "metrics-core" % "2.1.3",
"com.yammer.metrics" % "metrics-scala_2.9.1" % "2.1.3",
"com.yammer.metrics" % "metrics-servlet" % "2.1.3",
"net.box" % "metrics-opentsdb_2.9.0-1" % "latest.release",
// test deps
"net.box" % "box-test-common_2.9.0-1" % "latest.release" % "test"
)
ivyXML :=
<dependencies>
<exclude org="org.slf4j" module="slf4j-log4j12"/>
<exclude org="com.sun.jmx" module="jmxri"/>
<exclude org="com.sun.jdmk" module="jmxtools"/>
<exclude org="javax.jms" module="jms"/>
<exclude org="log4j" module="log4j"/>
</dependencies>
testOptions in Test += Tests.Argument("neverstore", "xonly")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment