Adding unmanaged dependencies to a build:
Unmanaged dependencies work like this: add jars tolib
and they will be
placed on the project classpath. lib is a sister directory to src Dependencies in
lib
go on all the classpaths (for compile
, test
, run
,
and console
).from: http://www.scala-sbt.org/0.13/docs/Library-Dependencies.html
Start SBT with Java Agent JAR file:
An example. SizeOf is a program which uses java.lang.instrument and must be launched as a Java Agent:java -jar -javaagent: