setArgs

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

Sets the args for the main class to be executed.

Return

this

Parameters

args

Args for the main class.