| Modifier and Type | Interface and Description |
|---|---|
interface |
Configuration
A
Configuration represents a group of artifacts and their dependencies. |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
Configuration.fileCollection(Closure dependencySpecClosure)
Takes a closure which gets coerced into a Spec.
|
FileCollection |
Configuration.fileCollection(Dependency... dependencies)
Resolves this configuration lazily.
|
FileCollection |
Configuration.fileCollection(Spec<? super Dependency> dependencySpec)
Resolves this configuration lazily.
|
FileCollection |
ResolvableDependencies.getFiles()
Returns a
FileCollection which contains the resolved set of files. |
FileCollection |
PublishArtifactSet.getFiles() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ConfigurableFileCollection
A
ConfigurableFileCollection is a mutable FileCollection. |
interface |
ConfigurableFileTree
A
FileTree with a single base directory, which can be configured and modified. |
interface |
FileTree
A
FileTree represents a hierarchy of files. |
interface |
SourceDirectorySet
A
SourceDirectorySet represents a set of source files composed from a set of source directories, along
with associated include and exclude patterns. |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
FileCollection.add(FileCollection collection)
Adds another collection to this collection.
|
FileCollection |
FileCollection.filter(Closure filterClosure)
Restricts the contents of this collection to those files which match the given criteria.
|
FileCollection |
FileCollection.filter(Spec<? super File> filterSpec)
Restricts the contents of this collection to those files which match the given criteria.
|
FileCollection |
FileCollection.minus(FileCollection collection)
Returns a
FileCollection which contains the intersection of this collection and the given collection. |
FileCollection |
FileCollection.plus(FileCollection collection)
Returns a
FileCollection which contains the union of this collection and the given collection. |
FileCollection |
FileCollection.stopExecutionIfEmpty()
Throws a
StopExecutionException if this collection is empty. |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
FileCollection.add(FileCollection collection)
Adds another collection to this collection.
|
FileCollection |
FileCollection.minus(FileCollection collection)
Returns a
FileCollection which contains the intersection of this collection and the given collection. |
FileCollection |
FileCollection.plus(FileCollection collection)
Returns a
FileCollection which contains the union of this collection and the given collection. |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
TaskExecutionHistory.getOutputFiles()
Returns the set of output files which the task produced.
|
FileCollection |
TaskOutputsInternal.getPreviousFiles() |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
DefaultPublishArtifactSet.getFiles() |
FileCollection |
CachingDependencyResolveContext.resolve() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ConfigurationInternal |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultConfiguration |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
DefaultConfiguration.fileCollection(Closure dependencySpecClosure) |
FileCollection |
DefaultConfiguration.fileCollection(Dependency... dependencies) |
FileCollection |
DefaultConfiguration.fileCollection(Spec<? super Dependency> dependencySpec) |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
DefaultSelfResolvingDependency.getSource() |
| Constructor and Description |
|---|
DefaultSelfResolvingDependency(FileCollection source) |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
FileCollectionSnapshot.getFiles() |
| Modifier and Type | Method and Description |
|---|---|
void |
FileCacheListener.cacheable(FileCollection files)
Indicates that the given files are cacheable, and are not expected to change until invalidated.
|
void |
DefaultFileCacheListener.cacheable(FileCollection files) |
void |
FileCacheListener.invalidate(FileCollection files)
Indicates that the given files may have changed, and should no longer be considered cacheable.
|
void |
DefaultFileCacheListener.invalidate(FileCollection files) |
FileCollectionSnapshot |
OutputFilesSnapshotter.snapshot(FileCollection files) |
FileCollectionSnapshot |
FileSnapshotter.snapshot(FileCollection files)
Creates a snapshot of the contents of the given collection
|
FileCollectionSnapshot |
DefaultFileSnapshotter.snapshot(FileCollection sourceFiles) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFileCollection |
class |
AbstractFileTree |
class |
CompositeFileCollection
A
FileCollection which contains the union of the given source collections. |
class |
CompositeFileTree |
class |
DefaultSourceDirectorySet |
class |
UnionFileCollection |
class |
UnionFileTree |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
UnionFileCollection.add(FileCollection collection) |
FileCollection |
AbstractFileCollection.add(FileCollection collection) |
FileCollection |
AbstractFileCollection.filter(Closure filterClosure) |
FileCollection |
CompositeFileCollection.filter(Spec<? super File> filterSpec) |
FileCollection |
AbstractFileCollection.filter(Spec<? super File> filterSpec) |
FileCollection |
AbstractFileCollection.minus(FileCollection collection) |
FileCollection |
AbstractFileCollection.plus(FileCollection collection) |
FileCollection |
FileResolver.resolveFiles(Object... paths) |
FileCollection |
AbstractFileResolver.resolveFiles(Object... paths) |
FileCollection |
AbstractFileCollection.stopExecutionIfEmpty() |
| Modifier and Type | Method and Description |
|---|---|
protected List<? extends FileCollection> |
CompositeFileCollection.getSourceCollections() |
Set<FileCollection> |
UnionFileCollection.getSources() |
| Modifier and Type | Method and Description |
|---|---|
UnionFileTree |
UnionFileTree.add(FileCollection source) |
FileCollection |
UnionFileCollection.add(FileCollection collection) |
FileCollection |
AbstractFileCollection.add(FileCollection collection) |
FileCollection |
AbstractFileCollection.minus(FileCollection collection) |
FileCollection |
AbstractFileCollection.plus(FileCollection collection) |
| Constructor and Description |
|---|
UnionFileCollection(FileCollection... source) |
| Constructor and Description |
|---|
UnionFileCollection(Iterable<? extends FileCollection> source) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultConfigurableFileCollection
A
FileCollection which resolves a set of paths relative to a FileResolver. |
class |
DefaultConfigurableFileTree |
class |
FileCollectionAdapter
Adapts a
MinimalFileSet into a full FileCollection. |
class |
FileTreeAdapter
Adapts a
MinimalFileTree into a full FileTree implementation. |
class |
SimpleFileCollection |
| Modifier and Type | Method and Description |
|---|---|
List<FileCollection> |
ResolvableFileCollectionResolveContext.resolveAsFileCollections()
Resolves the contents of this context as a sequence of atomic file collections.
|
List<FileCollection> |
DefaultFileCollectionResolveContext.resolveAsFileCollections()
Resolves the contents of this context as a list of atomic
FileCollection instances. |
| Constructor and Description |
|---|
DefaultFileCollectionResolveContext(FileResolver fileResolver,
DefaultFileCollectionResolveContext.Converter<? extends FileCollection> fileCollectionConverter,
DefaultFileCollectionResolveContext.Converter<? extends FileTree> fileTreeConverter) |
| Modifier and Type | Method and Description |
|---|---|
SelfResolvingDependency |
DependencyFilesNotationParser.parseType(FileCollection notation) |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
EmbeddableJavaProject.getRuntimeClasspath() |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
DefaultOsgiManifest.getClasspath() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultOsgiManifest.setClasspath(FileCollection classpath) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultSourceSetOutput |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
DefaultSourceSet.getCompileClasspath() |
FileCollection |
DefaultSourceSetOutput.getDirs() |
FileCollection |
DefaultTaskOutputs.getFiles() |
FileCollection |
DefaultTaskInputs.getFiles() |
FileCollection |
DefaultTaskOutputs.getPreviousFiles() |
FileCollection |
DefaultSourceSet.getRuntimeClasspath() |
FileCollection |
DefaultTaskInputs.getSourceFiles() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultSourceSet.setCompileClasspath(FileCollection classpath) |
void |
DefaultSourceSet.setRuntimeClasspath(FileCollection classpath) |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
StaleClassCleaner.getSource() |
FileCollection |
JvmLanguageCompileSpec.getSource() |
FileCollection |
DefaultJvmLanguageCompileSpec.getSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
StaleClassCleaner.setSource(FileCollection source) |
void |
JvmLanguageCompileSpec.setSource(FileCollection source) |
void |
DefaultJvmLanguageCompileSpec.setSource(FileCollection source) |
| Constructor and Description |
|---|
AbstractTestFrameworkDetector(File testClassesDirectory,
FileCollection testClasspath,
ClassFileExtractionManager classFileExtractionManager) |
| Constructor and Description |
|---|
JUnitDetector(File testClassesDirectory,
FileCollection testClasspath,
ClassFileExtractionManager classFileExtractionManager) |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
AntlrTask.getAntlrClasspath()
Returns the classpath containing the Ant ANTLR task implementation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AntlrTask.setAntlrClasspath(FileCollection antlrClasspath)
Specifies the classpath containing the Ant ANTLR task implementation.
|
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
OsgiManifest.getClasspath()
Returns the classpath.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OsgiManifest.setClasspath(FileCollection classpath)
A convenient method for setting a Bundle-Classpath instruction.
|
| Modifier and Type | Method and Description |
|---|---|
FindBugsSpecBuilder |
FindBugsSpecBuilder.withClasspath(FileCollection classpath) |
FindBugsSpecBuilder |
FindBugsSpecBuilder.withPluginsList(FileCollection pluginsClasspath) |
FindBugsSpecBuilder |
FindBugsSpecBuilder.withSources(FileCollection sources) |
| Constructor and Description |
|---|
FindBugsSpecBuilder(FileCollection classes) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SourceSetOutput
A collection of all output directories (compiled classes, processed resources, etc.) - notice that
SourceSetOutput extends FileCollection. |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
Upload.getArtifacts()
Returns the artifacts which will be uploaded.
|
FileCollection |
JavaExec.getBootstrapClasspath()
Returns the bootstrap classpath to use for the process.
|
FileCollection |
JavaExec.getClasspath()
Returns the classpath for executing the main class.
|
FileCollection |
SourceSet.getCompileClasspath()
Returns the classpath used to compile this source.
|
FileCollection |
AbstractCopyTask.getDefaultSource()
Deprecated.
Use getSource() instead.
|
FileCollection |
SourceSetOutput.getDirs()
Returns all dirs registered with with #dir method.
|
FileCollection |
TaskOutputs.getFiles()
Returns the output files of this task.
|
FileCollection |
TaskInputs.getFiles()
Returns the input files of this task.
|
FileCollection |
SourceSet.getRuntimeClasspath()
Returns the classpath used to execute this source.
|
FileCollection |
AbstractCopyTask.getSource()
Returns the source files for this task.
|
FileCollection |
TaskInputs.getSourceFiles()
Returns the set of source files for this task.
|
FileCollection |
Delete.getTargetFiles()
Returns the resolved set of files which will be deleted by this task.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JavaExec.setBootstrapClasspath(FileCollection classpath)
Sets the bootstrap classpath to use for the process.
|
JavaExec |
JavaExec.setClasspath(FileCollection classpath)
Sets the classpath for executing the main class.
|
void |
SourceSet.setCompileClasspath(FileCollection classpath)
Sets the classpath used to compile this source.
|
void |
SourceSet.setRuntimeClasspath(FileCollection classpath)
Sets the classpath used to execute this source.
|
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
AbstractCompile.getClasspath()
Returns the classpath to use to compile the source files.
|
FileCollection |
GroovyCompile.getGroovyClasspath()
Returns the classpath containing the version of Groovy to use for compilation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractCompile.setClasspath(FileCollection configuration)
Sets the classpath to use to compile the source files.
|
void |
GroovyCompile.setGroovyClasspath(FileCollection groovyClasspath)
Sets the classpath containing the version of Groovy to use for compilation.
|
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
Javadoc.getClasspath()
Returns the classpath to use to resolve type references in the source code.
|
FileCollection |
Groovydoc.getClasspath()
Returns the classpath used to locate classes referenced by the documented sources.
|
FileCollection |
Groovydoc.getGroovyClasspath()
Returns the classpath containing the Groovy library to be used.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Javadoc.setClasspath(FileCollection classpath)
Sets the classpath to use to resolve type references in this source code.
|
void |
Groovydoc.setClasspath(FileCollection classpath)
Sets the classpath used to locate classes referenced by the documented sources.
|
void |
Groovydoc.setGroovyClasspath(FileCollection groovyClasspath)
Sets the classpath containing the Groovy library to be used.
|
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
ScalaDoc.getScalaClasspath()
Returns the classpath to use to load the ScalaDoc tool.
|
FileCollection |
ScalaCompile.getScalaClasspath()
Returns the classpath to use to load the Scala compiler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ScalaDoc.setClasspath(FileCollection classpath) |
void |
ScalaDoc.setScalaClasspath(FileCollection scalaClasspath) |
void |
ScalaCompile.setScalaClasspath(FileCollection scalaClasspath) |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
Test.getBootstrapClasspath()
Returns the bootstrap classpath to use for the process.
|
FileCollection |
Test.getClasspath()
Returns the classpath to use to execute the tests.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Test.setBootstrapClasspath(FileCollection classpath)
Sets the bootstrap classpath to use for the process.
|
void |
Test.setClasspath(FileCollection classpath) |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
NativeDependencySet.getFiles() |
FileCollection |
NativeDependencySet.getIncludeRoots() |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
JavaForkOptions.getBootstrapClasspath()
Returns the bootstrap classpath to use for the process.
|
FileCollection |
JavaExecSpec.getClasspath()
Returns the classpath for executing the main class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JavaForkOptions.setBootstrapClasspath(FileCollection classpath)
Sets the bootstrap classpath to use for the process.
|
JavaExecSpec |
JavaExecSpec.setClasspath(FileCollection classpath)
Sets the classpath for executing the main class.
|
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
JvmOptions.getBootstrapClasspath() |
FileCollection |
JavaExecHandleBuilder.getBootstrapClasspath() |
FileCollection |
DefaultJavaForkOptions.getBootstrapClasspath() |
FileCollection |
JavaExecHandleBuilder.getClasspath() |
| Modifier and Type | Method and Description |
|---|---|
void |
JvmOptions.setBootstrapClasspath(FileCollection classpath) |
void |
JavaExecHandleBuilder.setBootstrapClasspath(FileCollection classpath) |
void |
DefaultJavaForkOptions.setBootstrapClasspath(FileCollection classpath) |
JavaExecHandleBuilder |
JavaExecHandleBuilder.setClasspath(FileCollection classpath) |
Copyright © 2013. All rights reserved