api / org.gradle.kotlin.dsl / InitScriptApi / javaexec

javaexec

fun javaexec(configuration: JavaExecSpec.() -> Unit): ExecResult

Executes an external Java process.

This method blocks until the process terminates, with its result being returned.

Parameters

configuration - The block to use to configure the JavaExecSpec.

Return
The result of the execution.