Skip to content

Instantly share code, notes, and snippets.

@emaxerrno
Created July 24, 2013 14:35
Show Gist options
  • Select an option

  • Save emaxerrno/6071138 to your computer and use it in GitHub Desktop.

Select an option

Save emaxerrno/6071138 to your computer and use it in GitHub Desktop.
import sbt._
object Dependencies {
val resolutionRepos = Seq(
// Required for our Scalaz snapshot
"Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/releases/",
// For some misc Scalding and Twitter libs
"Concurrent Maven Repo" at "http://conjars.org/repo",
// For Twitter's util functions
"Twitter Maven Repo" at "http://maven.twttr.com/",
// For scala-util and referer-parser
"SnowPlow Analytics Maven repo" at "http://maven.snplow.com/releases/"
)
object V {
// Java
val http = "4.1.1"
val hadoop = "0.20.2"
val commonsLang = "3.1"
val commonsIo = "2.4"
val yodaTime = "2.1"
val yodaConvert = "1.2"
// Scala
val scalding = "0.8.5"
val scalaz7 = "7.0.0"
val scalaUtil = "0.1.0"
val refererParser = "0.1.0"
val maxmindGeoip = "0.0.5"
// Scala (test only)
val specs2 = "1.14"
val scalazSpecs2 = "0.1.2"
val scalaCheck = "1.10.0"
// val useragent = "1.6" No Maven repo, so user-agent-utils is an unmanaged lib
}
object Urls {
val maxmindData = "http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz"
}
object Libraries {
// Java
val httpClient = "org.apache.httpcomponents" % "httpclient" % V.http
val hadoopCore = "org.apache.hadoop" % "hadoop-core" % V.hadoop % "provided"
val commonsLang = "org.apache.commons" % "commons-lang3" % V.commonsLang
val commonsIo = "commons-io" % "commons-io" % V.commonsIo
val yodaTime = "joda-time" % "joda-time" % V.yodaTime
val yodaConvert = "org.joda" % "joda-convert" % V.yodaConvert
// Scala
val scaldingCore = "com.twitter" %% "scalding-core" % V.scalding
val scaldingArgs = "com.twitter" %% "scalding-args" % V.scalding
val scalaz7 = "org.scalaz" %% "scalaz-core" % V.scalaz7
val scalaUtil = "com.snowplowanalytics" % "scala-util" % V.scalaUtil
val refererParser = "com.snowplowanalytics" % "referer-parser" % V.refererParser
val maxmindGeoip = "com.snowplowanalytics" %% "scala-maxmind-geoip" % V.maxmindGeoip
// Scala (test only)
val specs2 = "org.specs2" %% "specs2" % V.specs2 % "test"
val scalazSpecs2 = "org.typelevel" %% "scalaz-specs2" % V.scalazSpecs2 % "test"
val scalaCheck = "org.scalacheck" %% "scalacheck" % V.scalaCheck % "test"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment