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
|
import sbt._
import Keys._
object Build extends Build {
import AspectJ._
import NewRelic._
import Settings._
import Dependencies._
lazy val root = Project("root", file("."))
.aggregate(kamonCore, kamonDashboard)
.settings(basicSettings: _*)
.settings(
publish := (),
publishLocal := ()
)
lazy val kamonCore = Project("kamon-core", file("kamon-core"))
.settings(basicSettings: _*)
.settings(revolverSettings: _*)
.settings(aspectJSettings: _*)
//.settings(newrelicSettings: _*)
.settings(
libraryDependencies ++=
compile(akkaActor, akkaAgent, aspectJ, aspectJWeaver, metrics, newrelic, sprayJson, logback, akkaSlf4j) ++
compile(sprayCan, sprayClient, sprayRouting) ++
test(scalatest, akkaTestKit, sprayTestkit))
//.dependsOn(kamonDashboard)
lazy val kamonDashboard = Project("kamon-dashboard", file("kamon-dashboard"))
.settings(basicSettings: _*)
.settings(libraryDependencies ++= compile(akkaActor, akkaSlf4j, sprayRouting, sprayCan, sprayJson))
.dependsOn(kamonCore)
}
|