setArgs

abstract fun setArgs(@Nullable args: List<String>): JavaExecSpec(source)

Sets the args for the main class to be executed.

Return

this

Since

4.0

Parameters

args

Args for the main class.


abstract fun setArgs(@Nullable args: Iterable<out Any>): JavaExecSpec(source)

Sets the args for the main class to be executed.

Return

this

Parameters

args

Args for the main class.