javaexec

abstract fun javaexec(action: Action<in JavaExecSpec>): ExecResult(source)

Executes the specified external java process. The given action is used to configure an JavaExecSpec, which is then used to run an external java process.

Return

ExecResult that can be used to check if the execution worked

Parameters

action

Action to configure the JavaExecSpec