TaskInputs

interface TaskInputs(source)

A TaskInputs represents the inputs for a task.

You can obtain a TaskInputs instance using getInputs.

Functions

Link copied to clipboard
abstract fun dir(dirPath: Any): TaskInputFilePropertyBuilder
Registers an input directory hierarchy.
Link copied to clipboard
Registers some input file for this task.
Link copied to clipboard
Registers some input files for this task.
Link copied to clipboard
abstract fun getFiles(): FileCollection
Returns the input files of this task.
Link copied to clipboard
abstract fun getHasInputs(): Boolean
Returns true if this task has declared the inputs that it consumes.
Link copied to clipboard
abstract fun getHasSourceFiles(): Boolean
Returns true if this task has declared that it accepts source files.
Link copied to clipboard
abstract fun getProperties(): Map<String, Any>
Returns a map of input properties for this task.
Link copied to clipboard
Returns the set of source files for this task.
Link copied to clipboard
abstract fun properties(properties: Map<String, out Any>): TaskInputs
Registers a set of input properties for this task.
Link copied to clipboard
inline fun TaskInputs.properties(vararg properties: Pair<String, Any?>): TaskInputs

Kotlin extension function for org.gradle.api.tasks.TaskInputs.properties.

Link copied to clipboard
abstract fun property(name: String, @Nullable value: Any): TaskInputPropertyBuilder
Registers an input property for this task.