Is there an equivalent of gradle's JavaExec
task in sbt? Here's an example from the docs to understand what I'm looking for:
apply plugin: 'java'
task runApp(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'package.Main'
// arguments to pass to the application
args 'appArg1'
}
I need to configure classpath, main and pass some args - as in this example.