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