# TaskContainerScope

class TaskContainerScope : TaskContainerDelegate(source)

Receiver for the `tasks` block providing an extended set of operators for the configuration of tasks.

## Types

Companion
Link copied to clipboard
object Companion

## Properties

container
Link copied to clipboard
val container: ERROR CLASS: Symbol not found for TaskContainer
delegate
Link copied to clipboard
open override val delegate: ERROR CLASS: Symbol not found for TaskContainer
size
Link copied to clipboard
open val size: Int

## Functions

add
Link copied to clipboard
open fun add(element: org/gradle/api/Task): Boolean
addAll
Link copied to clipboard
open fun addAll(elements: Collection<org/gradle/api/Task>): Boolean
addAllLater
Link copied to clipboard
open fun addAllLater(provider: org/gradle/api/provider/Provider<out kotlin/collections/Iterable<org/gradle/api/Task>>)
addLater
Link copied to clipboard
open fun addLater(provider: org/gradle/api/provider/Provider<out org/gradle/api/Task>)
addRule
Link copied to clipboard
open fun addRule(rule: org/gradle/api/Rule): org/gradle/api/Rule
open fun addRule(description: String, ruleAction: org/gradle/api/Action<kotlin/String>): org/gradle/api/Rule
open fun addRule(description: String, ruleAction: Closure<Any>): org/gradle/api/Rule
all
Link copied to clipboard
open fun all(action: org/gradle/api/Action<in org/gradle/api/Task>)
open fun all(action: Closure<Any>)
clear
Link copied to clipboard
open fun clear()
configure
Link copied to clipboard
open fun configure(configureClosure: Closure<Any>): org/gradle/api/NamedDomainObjectContainer<org/gradle/api/Task>
configureEach
Link copied to clipboard
open fun configureEach(action: org/gradle/api/Action<in org/gradle/api/Task>)
containerWithType
Link copied to clipboard
open fun <U : org/gradle/api/Task> containerWithType(type: Class<U>): org/gradle/api/NamedDomainObjectContainer<U>
contains
Link copied to clipboard
open operator fun contains(element: org/gradle/api/Task): Boolean
containsAll
Link copied to clipboard
open fun containsAll(elements: Collection<org/gradle/api/Task>): Boolean
create
Link copied to clipboard
open fun create(name: String): org/gradle/api/Task
open fun create(options: Map<String, *>): org/gradle/api/Task
open fun create(name: String, configureAction: org/gradle/api/Action<in org/gradle/api/Task>): org/gradle/api/Task
open fun create(name: String, configureClosure: Closure<Any>): org/gradle/api/Task
open fun <T : org/gradle/api/Task> create(name: String, type: Class<T>): T
open fun create(options: Map<String, *>, configureClosure: Closure<Any>): org/gradle/api/Task
open fun <T : org/gradle/api/Task> create(name: String, type: Class<T>, configuration: org/gradle/api/Action<in T>): T
open fun <T : org/gradle/api/Task> create(name: String, type: Class<T>, vararg constructorArgs: Any): T
findAll
Link copied to clipboard
open fun findAll(spec: Closure<Any>): MutableSet<org/gradle/api/Task>
findByName
Link copied to clipboard
open fun findByName(name: String): org/gradle/api/Task??
findByPath
Link copied to clipboard
open fun findByPath(path: String): org/gradle/api/Task??
getAsMap
Link copied to clipboard
open fun getAsMap(): SortedMap<String, org/gradle/api/Task>
getAt
Link copied to clipboard
open fun getAt(name: String): org/gradle/api/Task
getByName
Link copied to clipboard
open fun getByName(name: String): org/gradle/api/Task
open fun getByName(name: String, configureAction: org/gradle/api/Action<in org/gradle/api/Task>): org/gradle/api/Task
open fun getByName(name: String, configureClosure: Closure<Any>): org/gradle/api/Task
getByPath
Link copied to clipboard
open fun getByPath(path: String): org/gradle/api/Task
getCollectionSchema
Link copied to clipboard
open fun getCollectionSchema(): org/gradle/api/NamedDomainObjectCollectionSchema
getNamer
Link copied to clipboard
open fun getNamer(): org/gradle/api/Namer<org/gradle/api/Task>
getNames
Link copied to clipboard
open fun getNames(): SortedSet<String>
getRules
Link copied to clipboard
open fun getRules(): MutableList<org/gradle/api/Rule>
invoke
Link copied to clipboard
operator fun String.invoke(configuration: ERROR CLASS: Symbol not found for Task.() -> Unit): ERROR CLASS: Symbol not found for TaskProvider<ERROR CLASS: Symbol not found for Task>
operator fun <U : ERROR CLASS: Symbol not found for Task> String.invoke(type: KClass<U>, configuration: U.() -> Unit): ERROR CLASS: Symbol not found for TaskProvider<U>

Configures a task by name, without triggering its creation or configuration, failing if there is no such task.

operator fun <U : ERROR CLASS: Symbol not found for Task> String.invoke(type: KClass<U>): ERROR CLASS: Symbol not found for TaskProvider<U>

Locates a task by name and type, without triggering its creation or configuration, failing if there is no such task.

isEmpty
Link copied to clipboard
open fun isEmpty(): Boolean
iterator
Link copied to clipboard
open operator fun iterator(): MutableIterator<org/gradle/api/Task>
matching
Link copied to clipboard
open fun matching(spec: org/gradle/api/specs/Spec<in org/gradle/api/Task>): org/gradle/api/tasks/TaskCollection<org/gradle/api/Task>
open fun matching(closure: Closure<Any>): org/gradle/api/tasks/TaskCollection<org/gradle/api/Task>
maybeCreate
Link copied to clipboard
open fun maybeCreate(name: String): org/gradle/api/Task
open fun <U : org/gradle/api/Task> maybeCreate(name: String, type: Class<U>): U
named
Link copied to clipboard
open fun named(predicate: org/gradle/api/specs/Spec<kotlin/String>): org/gradle/api/tasks/TaskCollection<org/gradle/api/Task>
open fun named(name: String): org/gradle/api/tasks/TaskProvider<org/gradle/api/Task>
open fun named(name: String, configurationAction: org/gradle/api/Action<in org/gradle/api/Task>): org/gradle/api/tasks/TaskProvider<org/gradle/api/Task>
open fun <S : org/gradle/api/Task> named(name: String, type: Class<S>): org/gradle/api/tasks/TaskProvider<S>
open fun <S : org/gradle/api/Task> named(name: String, type: Class<S>, configurationAction: org/gradle/api/Action<in S>): org/gradle/api/tasks/TaskProvider<S>
register
Link copied to clipboard
open fun register(name: String): org/gradle/api/tasks/TaskProvider<org/gradle/api/Task>
open fun register(name: String, configurationAction: org/gradle/api/Action<in org/gradle/api/Task>): org/gradle/api/tasks/TaskProvider<org/gradle/api/Task>
open fun <T : org/gradle/api/Task> register(name: String, type: Class<T>): org/gradle/api/tasks/TaskProvider<T>
open fun <T : org/gradle/api/Task> register(name: String, type: Class<T>, configurationAction: org/gradle/api/Action<in T>): org/gradle/api/tasks/TaskProvider<T>
open fun <T : org/gradle/api/Task> register(name: String, type: Class<T>, vararg constructorArgs: Any): org/gradle/api/tasks/TaskProvider<T>
remove
Link copied to clipboard
open fun remove(element: org/gradle/api/Task): Boolean
removeAll
Link copied to clipboard
open fun removeAll(elements: Collection<org/gradle/api/Task>): Boolean
replace
Link copied to clipboard
open fun replace(name: String): org/gradle/api/Task
open fun <T : org/gradle/api/Task> replace(name: String, type: Class<T>): T
retainAll
Link copied to clipboard
open fun retainAll(elements: Collection<org/gradle/api/Task>): Boolean
whenObjectAdded
Link copied to clipboard
open fun whenObjectAdded(action: org/gradle/api/Action<in org/gradle/api/Task>): org/gradle/api/Action<in org/gradle/api/Task>
open fun whenObjectAdded(action: Closure<Any>)
whenObjectRemoved
Link copied to clipboard
open fun whenObjectRemoved(action: org/gradle/api/Action<in org/gradle/api/Task>): org/gradle/api/Action<in org/gradle/api/Task>
open fun whenObjectRemoved(action: Closure<Any>)
whenTaskAdded
Link copied to clipboard
open fun whenTaskAdded(action: org/gradle/api/Action<in org/gradle/api/Task>): org/gradle/api/Action<in org/gradle/api/Task>
open fun whenTaskAdded(closure: Closure<Any>)
withType
Link copied to clipboard
open fun <S : org/gradle/api/Task> withType(type: Class<S>): org/gradle/api/tasks/TaskCollection<S>
open fun <S : org/gradle/api/Task> withType(type: Class<S>, configureAction: org/gradle/api/Action<in S>): org/gradle/api/DomainObjectCollection<S>
open fun <S : org/gradle/api/Task> withType(type: Class<S>, configureClosure: Closure<Any>): org/gradle/api/DomainObjectCollection<S>