- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {FileOutputStream f =
File file;new FileOutputStream(file)
String name;new FileOutputStream(name)
File file;new FileOutputStream(file, true)
- Smart code suggestions by Codota
}
public JavaExecHandleBuilder jvmArgs(Object... arguments) { javaOptions.jvmArgs(arguments); return this; }
public JavaExecHandleBuilder jvmArgs(Iterable<?> arguments) { javaOptions.jvmArgs(arguments); return this; }
@TaskAction private void setupDebug() throws IOException { target.jvmArgs(debugSpec.getJvmArgs()); }
/** * Adds JVM parameters for debugging according to the specification configured by the given closure to the task * @param specAction A closure to configure a debug specification. The specification will be passed as both single parameter and delegate to the closure. */ public void debug(Closure specAction) { DebugSpec spec = new DebugSpec(); specAction.setDelegate(spec); specAction.call(spec); task.jvmArgs(spec.getJvmArgs()); }
/** * Adds JVM parameters for debugging according to the specification configured by the given action to the task * @param specAction An action to configure a debug specification. */ public void debug(Action<DebugSpec> specAction) { DebugSpec spec = new DebugSpec(); specAction.execute(spec); task.jvmArgs(spec.getJvmArgs()); }