fun javaexec(configuration: JavaExecSpec.() -> Unit): ExecResult
Executes an external Java process.
This method blocks until the process terminates, with its result being returned.
configuration
- The block to use to configure the JavaExecSpec.
Return
The result of the execution.