aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorIvan Topolnak <ivantopo@gmail.com>2013-05-31 18:10:15 -0300
committerIvan Topolnak <ivantopo@gmail.com>2013-05-31 18:10:15 -0300
commite88fa503bbe043c0e152290bbd4e68601ab79eb8 (patch)
tree1b28c3d68a874789fcc863e0daf1b52abe6dc0b8 /project
parent148827486f116c4196888022f04ad053f4fb6e99 (diff)
downloadKamon-e88fa503bbe043c0e152290bbd4e68601ab79eb8.tar.gz
Kamon-e88fa503bbe043c0e152290bbd4e68601ab79eb8.tar.bz2
Kamon-e88fa503bbe043c0e152290bbd4e68601ab79eb8.zip
wip
Diffstat (limited to 'project')
-rw-r--r--project/Build.scala2
-rw-r--r--project/NewRelic.scala13
-rw-r--r--project/Settings.scala3
-rw-r--r--project/plugins.sbt2
4 files changed, 19 insertions, 1 deletions
diff --git a/project/Build.scala b/project/Build.scala
index 851bc500..b1fcf4f8 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -3,6 +3,7 @@ import Keys._
object Build extends Build {
import AspectJ._
+ import NewRelic._
import Settings._
import Dependencies._
@@ -10,6 +11,7 @@ object Build extends Build {
.settings(basicSettings: _*)
.settings(revolverSettings: _*)
.settings(aspectJSettings: _*)
+ .settings(newrelicSettings: _*)
.settings(
libraryDependencies ++=
compile(akkaActor, akkaAgent, sprayCan, sprayClient, sprayRouting, sprayServlet, aspectJ, metrics, newrelic, metricsScala, sprayJson, guava) ++
diff --git a/project/NewRelic.scala b/project/NewRelic.scala
new file mode 100644
index 00000000..766eb28d
--- /dev/null
+++ b/project/NewRelic.scala
@@ -0,0 +1,13 @@
+import sbt.Keys._
+import com.ivantopo.sbt.newrelic.SbtNewrelic
+import com.ivantopo.sbt.newrelic.SbtNewrelic.newrelic
+import com.ivantopo.sbt.newrelic.SbtNewrelic.SbtNewrelicKeys._
+
+
+object NewRelic {
+
+ lazy val newrelicSettings = SbtNewrelic.newrelicSettings ++ Seq(
+ javaOptions in run <++= jvmOptions in newrelic,
+ newrelicVersion in newrelic := "2.18.0"
+ )
+}
diff --git a/project/Settings.scala b/project/Settings.scala
index de8a3024..640a8013 100644
--- a/project/Settings.scala
+++ b/project/Settings.scala
@@ -8,8 +8,9 @@ object Settings {
lazy val basicSettings = seq(
version := VERSION,
organization := "com.despegar",
- scalaVersion := "2.10.1",
+ scalaVersion := "2.10.0",
resolvers ++= Dependencies.resolutionRepos,
+ fork in run := true,
scalacOptions := Seq(
"-encoding",
"utf8",
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 92902e2b..f8ce9e3c 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -6,3 +6,5 @@ addSbtPlugin("io.spray" % "sbt-revolver" % "0.6.2")
addSbtPlugin("com.typesafe.sbt" % "sbt-aspectj" % "0.9.0")
+addSbtPlugin("com.ivantopo.sbt" % "sbt-newrelic" % "0.0.1")
+