abstract fun javaexec(closure: Closure<Any>): ExecResult
Executes a Java main class. The closure configures a org.gradle.process.JavaExecSpec.
closure
- The closure for configuring the execution.
Return
the result of the execution
abstract fun javaexec(action: Action<in JavaExecSpec>): ExecResult
Executes a Java main class.
action
- The action for configuring the execution.
Return
the result of the execution