setClasspath

open fun setClasspath(classpath: FileCollection): JavaExec

Sets the classpath for executing the main class.