public interface GrolifantSimpleSetJavaForkOptions
An interface to set the most import Java fork options without relying on the actual Gradle API JavaForkOptions.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
setEnvironment(java.util.Map<String, ?> env)Set the environment from a map. |
|
public void |
setEnvironment(Provider<java.util.Map<String, String>> env)Set the environment from a provided map. |
|
public void |
setJavaLauncher(Provider<JavaLauncher> launcher)Sets an alternative Java launcher. |
|
public void |
setJvmArgs(Iterable<?> args)Sets the JVM args to use. |
|
public void |
setJvmArgs(Provider<Iterable<String>> args)Sets the JVM args to use. |
|
public void |
setMaxHeapSize(String size)Sets the maximum heap size. |
|
public void |
setMaxHeapSize(Provider<String> size)Sets the maximum heap size. |
|
public void |
setMinHeapSize(String size)Sets the minimum heap size. |
|
public void |
setMinHeapSize(Provider<String> size)Sets the minimum heap size. |
|
public void |
setSystemProperties(java.util.Map<String, ?> sysProps)Sets the system properties to use. |
|
public void |
setSystemProperties(Provider<java.util.Map<String, String>> sysProps)Sets the system properties to use. |
Set the environment from a map. Null values will be dropped.
This will be added to the environment of the actual Java process.
env - Environment that will be lazy-evaluated.Set the environment from a provided map.
This will be added to the environment of the actual Java process.
env - Environment that will be lazy-evaluated.Sets an alternative Java launcher.
launcher - Provider to a launcher.Sets the JVM args to use. Null values will be dropped.
This will add to the JVM arguments of the Java process.
args - List of arguments. WIll be lazy-evaluated.Sets the JVM args to use.
This will add to the JVM arguments of the Java process.
args - Provider to a list of arguments.Sets the maximum heap size.
size - Heap size.Sets the maximum heap size.
size - Provider to a heap size.Sets the minimum heap size.
size - Heap size.Sets the minimum heap size.
size - Provider to a heap size.Sets the system properties to use. Null values will be converted to empty strings.
This will add to the system properties of the Java process.
sysProps - System properties that will be lazy-evaluated.