Yes it is.
If you want to run them in the same virtual machine, SBT will start, and then write in the project definition file similar to the following:
lazy val benchmark = task {
None
}
benchmark SBT . , , , , SBT, runTask, , - . :
def runTask(mainClass: => Option[String], classpath: PathFinder, options: String*): Task
:
lazy val benchmark = task { args =>
runTask(Some("whatever.your.mainclass.is"), testClasspath, args)
}
jvm, . SBT , ! . , java -jar path-to-artifact.jar, . :
"java -jar path-to-artifact.jar" !
SBT. , .
reload .