api / org.gradle.process / JavaExecSpec / getArgs

getArgs

@Optional @Input abstract fun getArgs(): MutableList<String>

Returns the arguments passed to the main class to be executed.