Defined the classpath for a JVM operation.
| Type | Name and description |
|---|---|
FileCollection |
classpath |
| Type Params | Return Type | Name and description |
|---|---|---|
|
JavaExecSpec |
classpath(Object... args)Add paths to the execution classpath. |
|
FileCollection |
getClasspath()Get classpath as a FileCollection. |
|
JavaExecSpec |
setClasspath(FileCollection files)Replace existing classpath with a new collection of files. |
Add paths to the execution classpath.
args - Anything resolvable to File or Path intsances.Get classpath as a FileCollection.
Replace existing classpath with a new collection of files.
files - New file collection.