public interface ClasspathSpec
Defined the classpath for a JVM operation.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public JavaExecSpec |
classpath(Object args)Add paths to the execution classpath. |
|
public FileCollection |
getClasspath()Get classpath as a FileCollection. |
|
public 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.