- cleanDir(File) - Static method in class com.diffplug.gradle.FileMisc
-
Deletes the given file or directory if it exists, 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
-
Implementation of
CmdLineTask, but helpful for implementing other things as well.
- 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 a series of actions, including shell commands.
- CmdLineTask() - Constructor for class com.diffplug.gradle.CmdLineTask
-
- com.diffplug.gradle - package com.diffplug.gradle
-
Common utilities for creating and manipulating gradle tasks.
- com.diffplug.gradle.eclipse - package com.diffplug.gradle.eclipse
-
Plugins for creating and manipulating eclipse project files.
- com.diffplug.gradle.osgi - package com.diffplug.gradle.osgi
-
Plugins for generating OSGi metadata and manipulating OSGi bundles.
- com.diffplug.gradle.pde - package com.diffplug.gradle.pde
-
Plugins for running Eclipse PDE using a downloaded eclipse instance.
- com.diffplug.gradle.swt - package com.diffplug.gradle.swt
-
Plugins for working with SWT in Gradle.
- 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.pde.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 and performs a simple copy-replace templating operation along the way.
- copyProductAndImgs(Object, String) - Method in class com.diffplug.gradle.pde.PdeProductBuildTask
-
Copies the product and imgs from the given directory to the given path within the build directory.
- copyTo - Variable in class com.diffplug.gradle.osgi.BndManifestExtension
-
- copyTo(Object) - Method in class com.diffplug.gradle.osgi.BndManifestExtension
-
- 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.
- getBinIncludes(Project) - Static method in class com.diffplug.gradle.eclipse.BuildPropertiesPlugin
-
Returns the bin.incldes for this project.
- getBinIncludes() - Method in class com.diffplug.gradle.eclipse.BuildPropertiesPlugin
-
Returns the bin.includes from the build.properties file.
- getBuildDir() - Method in class com.diffplug.gradle.pde.PdeProductBuildTask
-
- getDeltaPackDir() - Method in class com.diffplug.gradle.pde.EclipseWuff
-
Returns a directory containing a delta pack.
- getEclipseConsoleExecutable() - Method in class com.diffplug.gradle.pde.EclipseWuff
-
Returns the eclipse console executable.
- getEclipseExecutable() - Method in class com.diffplug.gradle.pde.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.
- getPlugin(Project, Class<T>) - Static method in class com.diffplug.gradle.ProjectPlugin
-
Returns the instance of the given plugin, by returning the existing or applying brand new, as appropriate.
- getPluginPath() - Method in class com.diffplug.gradle.pde.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.pde.EclipseWuff
-
Returns the SDK directory for this version for this OS.
- getSdkFile(String) - Method in class com.diffplug.gradle.pde.EclipseWuff
-
Returns the given path within the SDK.
- getVersion() - Method in class com.diffplug.gradle.pde.EclipseWuff
-
Returns the version for this Eclipse instance.
- getVersionOsgi() - Method in class com.diffplug.gradle.pde.EclipseWuff
-
Returns the version for this Eclipse instance.