diff options
Diffstat (limited to 'project/Dependencies.scala')
-rw-r--r-- | project/Dependencies.scala | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/project/Dependencies.scala b/project/Dependencies.scala new file mode 100644 index 00000000..bcc926f5 --- /dev/null +++ b/project/Dependencies.scala @@ -0,0 +1,46 @@ +/* ========================================================================================= + * Copyright © 2013-2016 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( + "typesafe repo" at "http://repo.typesafe.com/typesafe/releases/", + "Kamon Repository Snapshots" at "http://snapshots.kamon.io" + ) + + val akkaVersion = "2.4.12" + val slf4jVersion = "1.7.7" + + val akkaSlf4j = "com.typesafe.akka" %% "akka-slf4j" % akkaVersion + val akkaTestKit = "com.typesafe.akka" %% "akka-testkit" % akkaVersion + val akkaActor = "com.typesafe.akka" %% "akka-actor" % akkaVersion + + val aspectJ = "org.aspectj" % "aspectjweaver" % "1.8.9" + val hdrHistogram = "org.hdrhistogram" % "HdrHistogram" % "2.1.9" + + val slf4jApi = "org.slf4j" % "slf4j-api" % slf4jVersion + val slf4jnop = "org.slf4j" % "slf4j-nop" % slf4jVersion + + val logback = "ch.qos.logback" % "logback-classic" % "1.0.13" + + val scalatest = "org.scalatest" %% "scalatest" % "3.0.1" + + def compileScope (deps: ModuleID*): Seq[ModuleID] = deps map (_ % "compile") + def testScope (deps: ModuleID*): Seq[ModuleID] = deps map (_ % "test") + def providedScope (deps: ModuleID*): Seq[ModuleID] = deps map (_ % "provided") + def optionalScope (deps: ModuleID*): Seq[ModuleID] = deps map (_ % "compile,optional") +} |