aboutsummaryrefslogblamecommitdiff
path: root/project/Dependencies.scala
blob: 8d3e57fba3c91998ce7d646e731b1f4d4f74bfa3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                             




                            
                                            
                                                                    

   





                                     
 






















                                                                                                  



                                                                                                  
 




                                                                             
                                                                                    
 
/* =========================================================================================
 * Copyright © 2013-2014 the kamon project <http://kamon.io/>
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
 * except in compliance with the License. You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the
 * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
 * either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 * =========================================================================================
 */

import sbt._

object Dependencies {

  val resolutionRepos = Seq(
    "spray repo" at "http://repo.spray.io/",
    "typesafe repo" at "http://repo.typesafe.com/typesafe/releases/"
  )

  val sprayVersion      = "1.3.2"
  val akkaVersion       = "2.3.9"
  val aspectjVersion    = "1.8.5"
  val slf4jVersion      = "1.7.7"
  val playVersion       = "2.3.8"
  val sigarVersion      = "1.6.5.132"

  val sprayJson         = "io.spray"                  %%  "spray-json"            % "1.3.1"
  val sprayJsonLenses   = "net.virtual-void"          %%  "json-lenses"           % "0.6.0"
  val scalatest         = "org.scalatest"             %%  "scalatest"             % "2.2.1"
  val logback           = "ch.qos.logback"            %   "logback-classic"       % "1.0.13"
  val aspectJ           = "org.aspectj"               %   "aspectjweaver"         % aspectjVersion
  val newrelic          = "com.newrelic.agent.java"   %   "newrelic-api"          % "3.11.0"
  val hdrHistogram      = "org.hdrhistogram"          %   "HdrHistogram"          % "2.1.4"
  val sprayCan          = "io.spray"                  %%  "spray-can"             % sprayVersion
  val sprayRouting      = "io.spray"                  %%  "spray-routing"         % sprayVersion
  val sprayTestkit      = "io.spray"                  %%  "spray-testkit"         % sprayVersion
  val sprayClient       = "io.spray"                  %%  "spray-client"          % sprayVersion
  val akkaActor         = "com.typesafe.akka"         %%  "akka-actor"            % akkaVersion
  val akkaSlf4j         = "com.typesafe.akka"         %%  "akka-slf4j"            % akkaVersion
  val akkaTestKit       = "com.typesafe.akka"         %%  "akka-testkit"          % akkaVersion
  val akkaRemote        = "com.typesafe.akka"         %%  "akka-remote"           % akkaVersion
  val akkaCluster       = "com.typesafe.akka"         %%  "akka-cluster"          % akkaVersion
  val play              = "com.typesafe.play"         %%  "play"                  % playVersion
  val playWS            = "com.typesafe.play"         %%  "play-ws"               % playVersion
  val playTest          = "org.scalatestplus"         %%  "play"                  % "1.2.0"
  val slf4Api           = "org.slf4j"                 %   "slf4j-api"             % slf4jVersion
  val slf4nop           = "org.slf4j"                 %   "slf4j-nop"             % slf4jVersion
  val slf4Jul           = "org.slf4j"                 %   "jul-to-slf4j"          % slf4jVersion
  val slf4Log4j         = "org.slf4j"                 %   "log4j-over-slf4j"      % slf4jVersion
  val scalazConcurrent  = "org.scalaz"                %%  "scalaz-concurrent"     % "7.1.0"
  val sigarLoader       = "io.kamon"                  %   "sigar-loader"          % "1.6.5-rev001"
  val h2                = "com.h2database"            %   "h2"                    % "1.4.182"
  val el                = "org.glassfish"             %   "javax.el"              % "3.0.0"

  def compile   (deps: ModuleID*): Seq[ModuleID] = deps map (_ % "compile")
  def provided  (deps: ModuleID*): Seq[ModuleID] = deps map (_ % "provided")
  def test      (deps: ModuleID*): Seq[ModuleID] = deps map (_ % "test")
  def runtime   (deps: ModuleID*): Seq[ModuleID] = deps map (_ % "runtime")
  def container (deps: ModuleID*): Seq[ModuleID] = deps map (_ % "container")
  def optional  (deps: ModuleID*): Seq[ModuleID] = deps map (_ % "compile,optional")
}