aboutsummaryrefslogtreecommitdiff
path: root/project/AspectJ.scala
diff options
context:
space:
mode:
authorIvan Topolnak <ivantopo@gmail.com>2013-05-28 17:59:15 -0300
committerIvan Topolnak <ivantopo@gmail.com>2013-05-28 17:59:15 -0300
commite9be0b251d5714a5726d7b90c309a293f146c96c (patch)
tree8166e4b3df9c135a7928ca3d907249d31dcb6c58 /project/AspectJ.scala
parent00bc817f9dcebd1134d42308cf3a5f5ac7ef4185 (diff)
downloadKamon-e9be0b251d5714a5726d7b90c309a293f146c96c.tar.gz
Kamon-e9be0b251d5714a5726d7b90c309a293f146c96c.tar.bz2
Kamon-e9be0b251d5714a5726d7b90c309a293f146c96c.zip
configured sbt to compile aspectj files
Diffstat (limited to 'project/AspectJ.scala')
-rw-r--r--project/AspectJ.scala15
1 files changed, 8 insertions, 7 deletions
diff --git a/project/AspectJ.scala b/project/AspectJ.scala
index d708b0db..a711f2be 100644
--- a/project/AspectJ.scala
+++ b/project/AspectJ.scala
@@ -1,15 +1,16 @@
import sbt._
import sbt.Keys._
-import com.typesafe.sbt.SbtAspectj
-import com.typesafe.sbt.SbtAspectj.Aspectj
-import com.typesafe.sbt.SbtAspectj.AspectjKeys._
+import com.typesafe.sbt.SbtAspectj.{ Aspectj, aspectjSettings, compiledClasses }
+import com.typesafe.sbt.SbtAspectj.AspectjKeys.{ binaries, compileOnly, inputs, lintProperties, weaverOptions }
object AspectJ {
- lazy val aspectJSettings = SbtAspectj.aspectjSettings ++ Seq(
- showWeaveInfo := false,
- fork in Test := true,
- javaOptions in Test <++= weaverOptions in Aspectj
+ lazy val aspectJSettings = aspectjSettings ++ Seq(
+ compileOnly in Aspectj := true,
+ fork in Test := true,
+ javaOptions in Test <++= weaverOptions in Aspectj,
+ //lintProperties in Aspectj <++= "invalidAbsoluteTypeName = ignore",
+ products in Compile <<= products in Aspectj
)
} \ No newline at end of file