Skip to content

Commit

Permalink
fix kamon/aspectj
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Mar 8, 2016
1 parent 9b48996 commit 3414989
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
13 changes: 2 additions & 11 deletions project/Build.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import com.typesafe.sbt.packager.Keys._
import com.typesafe.sbt.packager.Keys.scriptClasspath
import com.typesafe.sbt.web.SbtWeb.autoImport._
import play.Play.autoImport._
import play.sbt.PlayImport._
Expand Down Expand Up @@ -35,7 +35,7 @@ object ApplicationBuild extends Build {
scalaz, scalalib, hasher, config, apache,
jgit, findbugs, RM, PRM, akka.actor, akka.slf4j,
spray.caching, maxmind, prismic,
kamon.core, kamon.play, kamon.akka),
kamon.core, kamon.play, kamon.akka, kamon.statsd),
TwirlKeys.templateImports ++= Seq(
"lila.game.{ Game, Player, Pov }",
"lila.tournament.Tournament",
Expand All @@ -50,15 +50,6 @@ object ApplicationBuild extends Build {
// trump sbt-web into not looking at public/
resourceDirectory in Assets := (sourceDirectory in Compile).value / "assets"
))
// ) ++ aspectjSettings ++ Seq(
// // Here we are effectively adding the `-javaagent` JVM startup
// // option with the location of the AspectJ Weaver provided by
// // the sbt-aspectj plugin.
// javaOptions in run <++= AspectjKeys.weaverOptions in Aspectj,
// // We need to ensure that the JVM is forked for the
// // AspectJ Weaver to kick in properly and do it's magic.
// fork in run := true
// ))

lazy val modules = Seq(
chess, common, db, rating, user, security, wiki, hub, socket,
Expand Down
1 change: 0 additions & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,4 @@ object Dependencies {
val statsd = "io.kamon" %% "kamon-statsd" % version
val system = "io.kamon" %% "kamon-system-metrics" % version
}
val aspectjweaver = "org.aspectj" % "aspectjweaver" % "1.8.6"
}
3 changes: 0 additions & 3 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"

addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.4.6")

// addSbtPlugin("com.typesafe.sbt" % "sbt-aspectj" % "0.10.4")
addSbtPlugin("io.kamon" % "aspectj-play-runner" % "0.1.3")

0 comments on commit 3414989

Please sign in to comment.