ConfigurableFileCollection

A ConfigurableFileCollection is a mutable FileCollection.

You can obtain an instance of ConfigurableFileCollection by calling files or fileCollection.

Note: This interface is not intended for implementation by build script or plugin authors.

Functions

Link copied to clipboard
abstract fun addToAntBuilder(builder: Any, nodeName: String): Any
abstract fun addToAntBuilder(builder: Any, nodeName: String, type: FileCollection.AntType)
Link copied to clipboard
fun ConfigurableFileCollection.assign(fileCollection: FileCollection)

Sets the ConfigurableFileCollection to contain the source paths of passed collection. This is the same as calling ConfigurableFileCollection.setFrom(fileCollection: FileCollection).

Link copied to clipboard
Registers some tasks which build the files of this collection.
Link copied to clipboard
abstract fun contains(file: File): Boolean
Link copied to clipboard
Specifies the value to use as the convention (default value) to be used when resolving this file collection, if no source paths are explicitly defined.
Link copied to clipboard
abstract fun disallowChanges()
Link copied to clipboard
abstract fun disallowUnsafeRead()
Link copied to clipboard
abstract fun filter(filterClosure: Closure): FileCollection
Link copied to clipboard
abstract fun finalizeValue()
Link copied to clipboard
abstract fun finalizeValueOnRead()
Link copied to clipboard
open fun forEach(action: Consumer<in T>)
Link copied to clipboard
abstract fun from(paths: Array<Any>): ConfigurableFileCollection
Adds a set of source paths to this collection.
Link copied to clipboard
abstract fun getAsFileTree(): FileTree
Link copied to clipboard
abstract fun getAsPath(): String
Link copied to clipboard
Link copied to clipboard
abstract fun getBuiltBy(): Set<Any>
Returns the set of tasks which build the files of this collection.
Link copied to clipboard
Link copied to clipboard
abstract fun getFiles(): Set<File>
Link copied to clipboard
abstract fun getFrom(): Set<Any>
Returns the set of source paths for this collection.
Link copied to clipboard
abstract fun getSingleFile(): File
Link copied to clipboard

Property delegate for ConfigurableFileCollection instances.

Link copied to clipboard
abstract fun isEmpty(): Boolean
Link copied to clipboard
abstract fun iterator(): Iterator<T>
Link copied to clipboard
abstract fun minus(collection: FileCollection): FileCollection
Link copied to clipboard
abstract fun plus(collection: FileCollection): FileCollection
Link copied to clipboard
Sets the tasks which build the files of this collection.
Link copied to clipboard
abstract fun setFrom(paths: Iterable<out Any>)
abstract fun setFrom(paths: Array<Any>)
Sets the source paths for this collection.
Link copied to clipboard
operator fun ConfigurableFileCollection.setValue(receiver: Any?, property: KProperty<*>, value: Iterable<*>)

Property delegate for ConfigurableFileCollection instances.

Link copied to clipboard
Link copied to clipboard
abstract fun unset(): SupportsConvention
Link copied to clipboard