Adds the AspectJ Weaver JAR to builds using sbt-native-packager.
This is part of the AspectJ project at https://eclipse.org/aspectj/
It adds the Weaver JAR as a Java agent at startup time, allowing for weaving of pointcuts into Java bytecode at startup.
The plugin assumes that sbt-native-packager has been included in your SBT build configuration.
Use the appropriate version for Play/SBT Native Packager:
|Play||SBT Native Packager||Plugin|
Add the following to your
addSbtPlugin("com.gilt.sbt" % "sbt-aspectjweaver" % "0.1.0")
To use the AspectJ Weaver settings in your project, add the
AspectJWeaver auto-plugin to your project.
To use a specific AspectJ Weaver version, add the following to your
aspectJWeaverVersion := "1.8.10"