| Package | Description |
|---|---|
| org.gradle.api.tasks |
The standard
Task implementations. |
| Modifier and Type | Method and Description |
|---|---|
JavaExec |
JavaExec.args(Object... args)
Adds args for the main class to be executed.
|
JavaExec |
JavaExec.bootstrapClasspath(Object... classpath)
Adds the given values to the end of the bootstrap classpath for the process.
|
JavaExec |
JavaExec.classpath(Object... paths)
Adds elements to the classpath for executing the main class.
|
JavaExec |
JavaExec.copyTo(JavaForkOptions options)
Copies these options to the given options.
|
JavaExec |
JavaExec.copyTo(ProcessForkOptions target)
Copies these options to the given target options.
|
JavaExec |
JavaExec.environment(Map<String,?> environmentVariables)
Adds some environment variables to the environment for this process.
|
JavaExec |
JavaExec.environment(String name,
Object value)
Adds an environment variable to the environment for this process.
|
JavaExec |
JavaExec.executable(Object executable)
Sets the name of the executable to use.
|
JavaExec |
JavaExec.jvmArgs(Iterable<?> arguments)
Adds some arguments to use to launch the JVM for the process.
|
JavaExec |
JavaExec.jvmArgs(Object... arguments)
Adds some arguments to use to launch the JVM for the process.
|
JavaExec |
JavaExec.setArgs(Iterable<?> applicationArgs)
Sets the args for the main class to be executed.
|
JavaExec |
JavaExec.setClasspath(FileCollection classpath)
Sets the classpath for executing the main class.
|
JavaExec |
JavaExec.setErrorOutput(OutputStream outputStream)
Sets the output stream to consume standard error from the process executing the command.
|
JavaExec |
JavaExec.setMain(String mainClassName)
Sets the fully qualified name of the main class to be executed.
|
JavaExec |
JavaExec.setStandardInput(InputStream inputStream)
Sets the standard input stream for the process executing the command.
|
JavaExec |
JavaExec.setStandardOutput(OutputStream outputStream)
Sets the output stream to consume standard output from the process executing the command.
|
JavaExec |
JavaExec.systemProperties(Map<String,?> properties)
Adds some system properties to use for the process.
|
JavaExec |
JavaExec.systemProperty(String name,
Object value)
Adds a system property to use for the process.
|
JavaExec |
JavaExec.workingDir(Object dir)
Sets the working directory for the process.
|
Copyright © 2013. All rights reserved