api / org.gradle.process / JavaExecSpec / setArgs

setArgs

abstract fun setArgs(args: MutableList<String>): JavaExecSpec

Sets the args for the main class to be executed.

Parameters

args - Args for the main class.

Return
this

Since
4.0

abstract fun setArgs(args: MutableIterable<*>): JavaExecSpec

Sets the args for the main class to be executed.

Parameters

args - Args for the main class.

Return
this