- cleanDir(File) - Static method in class com.diffplug.gradle.FileMisc
-
Deletes the given file if it exists, and then creates a fresh directory in its place.
- cmd(String) - Method in class com.diffplug.gradle.CmdLine
-
Executes the given command.
- cmd(File, String) - Method in class com.diffplug.gradle.CmdLine
-
Sets the working directory to the given dir, then executes the given command.
- cmd - Variable in class com.diffplug.gradle.CmdLine.Result
-
- cmd(String) - Method in class com.diffplug.gradle.CmdLineTask
-
Executes the given command.
- cmd(Object, String) - Method in class com.diffplug.gradle.CmdLineTask
-
Sets the working directory to the given dir, then executes the given command.
- CmdLine - Class in com.diffplug.gradle
-
- CmdLine() - Constructor for class com.diffplug.gradle.CmdLine
-
- CmdLine.Result - Class in com.diffplug.gradle
-
Returns the given result.
- CmdLineTask - Class in com.diffplug.gradle
-
A task for running command line actions which may have multiple lines.
- CmdLineTask() - Constructor for class com.diffplug.gradle.CmdLineTask
-
- com.diffplug.gradle - package com.diffplug.gradle
-
- com.diffplug.gradle.eclipse - package com.diffplug.gradle.eclipse
-
- com.diffplug.gradle.swt - package com.diffplug.gradle.swt
-
- concat(Iterable<File>, File) - Static method in class com.diffplug.gradle.FileMisc
-
Concats the first files and writes them to the last file.
- containsExecutablePermission(Set<PosixFilePermission>) - Static method in class com.diffplug.gradle.FileMisc
-
Returns true if any of the bits contain the executable permission.
- copy(File, File) - Method in class com.diffplug.gradle.CmdLine
-
Removes the given file or directory.
- copy(Object, Object) - Method in class com.diffplug.gradle.CmdLineTask
-
Removes the given file or directory.
- copy() - Method in class com.diffplug.gradle.eclipse.P2DirectorModel
-
Returns a deep copy of this model.
- copyFile(File, File, String...) - Static method in class com.diffplug.gradle.FileMisc
-
Copies from src to dst, while replacing them.
- copyProductAndImgs(Object, String) - Method in class com.diffplug.gradle.eclipse.PdeProductBuildTask
-
Copies the product and imgs from the given directory to the given path within the build directory.
- CORE_COMMANDS - Static variable in class com.diffplug.gradle.swt.SwtExtension
-
- get(String, String) - Static method in class com.diffplug.gradle.EnvMisc
-
Returns the given environment variable, throwing a descriptive error if it doesn't exist.
- getBinDir() - Method in class com.diffplug.gradle.JDK
-
Returns the directory at the root of the JDK.
- getBuildDir() - Method in class com.diffplug.gradle.eclipse.PdeProductBuildTask
-
- getContent() - Method in class com.diffplug.gradle.eclipse.BuildProperties
-
- getDeltaPackDir() - Method in class com.diffplug.gradle.eclipse.EclipseWuff
-
Returns a directory containing a delta pack.
- getEclipseConsoleExecutable() - Method in class com.diffplug.gradle.eclipse.EclipseWuff
-
Returns the eclipse console executable.
- getEclipseExecutable() - Method in class com.diffplug.gradle.eclipse.EclipseWuff
-
Returns the eclipse GUI executable.
- getJdkLibs() - Method in class com.diffplug.gradle.JDK
-
Returns the JDK's libs which you're going to link against.
- getOptional(String, String, String) - Static method in class com.diffplug.gradle.EnvMisc
-
Returns the given environment variable, printing a descriptive warning and using a default value if it doesn't exist.
- getPluginLookupPath() - Method in class com.diffplug.gradle.eclipse.BuildProperties
-
Returns all the paths upon which plugins will be looked up.
- getPluginPath() - Method in class com.diffplug.gradle.eclipse.PdeProductBuildTask
-
- getRootDir() - Method in class com.diffplug.gradle.JDK
-
Returns the directory at the root of the JDK.
- getSdkDir() - Method in class com.diffplug.gradle.eclipse.EclipseWuff
-
Returns the SDK directory for this version for this OS.
- getSdkFile(String) - Method in class com.diffplug.gradle.eclipse.EclipseWuff
-
Returns the given path within the SDK.
- getVersion() - Method in class com.diffplug.gradle.eclipse.EclipseWuff
-
Returns the version for this Eclipse instance.
- getVersionFor(String) - Method in class com.diffplug.gradle.eclipse.PluginCatalog
-
Returns the version for the given plugin.
- getVersionOsgi() - Method in class com.diffplug.gradle.eclipse.EclipseWuff
-
Returns the version for this Eclipse instance.
- rawFile() - Static method in class com.diffplug.gradle.eclipse.BuildProperties
-
Returns the content of template.build.properties as a String.
- read(File, String, Throwing.Specific.Consumer<InputStream, IOException>) - Static method in class com.diffplug.gradle.ZipUtil
-
Reads the given entry from the zip.
- resolveWithFirst(String, String...) - Method in class com.diffplug.gradle.eclipse.PdeProductBuildTask
-
Resolves conflicts at the given plugin with the given versions.
- resolveWithFirst(String, String...) - Method in class com.diffplug.gradle.eclipse.PluginCatalog
-
If the given plugin has multiple versions, and those versions match the versions passed in, it will resolve them with the first version in this list.
- resolveWithFirst(String, List<String>) - Method in class com.diffplug.gradle.eclipse.PluginCatalog
-
If the given plugin has multiple versions, and those versions match the versions passed in, it will resolve them with the first version in this list.
- Result(File, String, ImmutableList<String>, ImmutableList<String>) - Constructor for class com.diffplug.gradle.CmdLine.Result
-
- rm(File) - Method in class com.diffplug.gradle.CmdLine
-
Removes the given file or directory.
- rm(Object) - Method in class com.diffplug.gradle.CmdLineTask
-
Removes the given file or directory.
- run(Throwing.Runnable) - Method in class com.diffplug.gradle.CmdLine
-
Removes the given file or directory.
- run(Throwing.Runnable) - Method in class com.diffplug.gradle.CmdLineTask
-
Removes the given file or directory.
- runCmd(String) - Static method in class com.diffplug.gradle.CmdLine
-
Runs the given command in the current working directory.
- runCmd(File, String) - Static method in class com.diffplug.gradle.CmdLine
-
Runs the given command in the given directory.
- runCmd(File, String, boolean, boolean) - Static method in class com.diffplug.gradle.CmdLine
-
Runs the given command in the given directory with the given echo setting.