aboutsummaryrefslogblamecommitdiff
path: root/project/AspectJ.scala
blob: 83b334b83be02b50e29bd085d9072d04dbacce24 (plain) (tree)
1
2
3
4
5
6
7
8
9

                 

                                                                                                               



                
                                                    
                                         

                                                             
                                                             
                                                                      

   
import sbt._
import sbt.Keys._
import com.typesafe.sbt.SbtAspectj.{ Aspectj, aspectjSettings, compiledClasses }
import com.typesafe.sbt.SbtAspectj.AspectjKeys.{ binaries, compileOnly, inputs, lintProperties, weaverOptions }


object AspectJ {

  lazy val aspectJSettings = aspectjSettings ++ Seq(
      compileOnly in Aspectj    :=  true,
                fork in Test    :=  true,
         javaOptions in Test  <++=  weaverOptions in Aspectj,
          javaOptions in run  <++=  weaverOptions in Aspectj,
   lintProperties in Aspectj    +=  "invalidAbsoluteTypeName = ignore"
  )
}