aboutsummaryrefslogtreecommitdiff
path: root/kamon-examples/kamon-play-newrelic-example/project
diff options
context:
space:
mode:
Diffstat (limited to 'kamon-examples/kamon-play-newrelic-example/project')
-rw-r--r--kamon-examples/kamon-play-newrelic-example/project/Build.scala22
-rw-r--r--kamon-examples/kamon-play-newrelic-example/project/build.properties1
-rw-r--r--kamon-examples/kamon-play-newrelic-example/project/plugins.sbt9
3 files changed, 32 insertions, 0 deletions
diff --git a/kamon-examples/kamon-play-newrelic-example/project/Build.scala b/kamon-examples/kamon-play-newrelic-example/project/Build.scala
new file mode 100644
index 00000000..fa240c39
--- /dev/null
+++ b/kamon-examples/kamon-play-newrelic-example/project/Build.scala
@@ -0,0 +1,22 @@
+import java.io.File
+import sbt._
+import Keys._
+import play.Project._
+
+object ApplicationBuild extends Build {
+
+ val appName = "Kamon-Play-NewRelic-Example"
+ val appVersion = "1.0-SNAPSHOT"
+
+ val appDependencies = Seq(
+ "kamon" % "kamon-core" % "0.0.14-SNAPSHOT",
+ "kamon" % "kamon-play" % "0.0.14-SNAPSHOT",
+ "kamon" % "kamon-newrelic" % "0.0.14-SNAPSHOT"
+ )
+
+
+ val main = play.Project(appName, appVersion, appDependencies).settings(
+ // For additionally resolving from the conventional ivy local home.
+ resolvers += Resolver.file("LocalIvy", file(Path.userHome +
+ File.separator + ".ivy2" + File.separator + "local"))(Resolver.ivyStylePatterns))
+}
diff --git a/kamon-examples/kamon-play-newrelic-example/project/build.properties b/kamon-examples/kamon-play-newrelic-example/project/build.properties
new file mode 100644
index 00000000..0974fce4
--- /dev/null
+++ b/kamon-examples/kamon-play-newrelic-example/project/build.properties
@@ -0,0 +1 @@
+sbt.version=0.13.0
diff --git a/kamon-examples/kamon-play-newrelic-example/project/plugins.sbt b/kamon-examples/kamon-play-newrelic-example/project/plugins.sbt
new file mode 100644
index 00000000..065c342e
--- /dev/null
+++ b/kamon-examples/kamon-play-newrelic-example/project/plugins.sbt
@@ -0,0 +1,9 @@
+// Comment to get more information during initialization
+logLevel := Level.Warn
+
+// The Typesafe repository
+resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
+
+// Use the Play sbt plugin for Play projects
+addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.2.1")
+