Task Container Scope
Receiver for the tasks
block providing an extended set of operators for the configuration of tasks.
Properties
Provides a property delegate that creates elements of the default collection type.
Provides a property delegate that creates tasks of the default type.
Functions
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.PolymorphicDomainObjectContainer.containerWithType.
Creates a domain object with the specified name and type, and adds it to the container.
Kotlin extension function for org.gradle.api.tasks.TaskContainer.create.
Creates a domain object with the specified name and type, adds it to the container, and configures it with the specified action.
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.PolymorphicDomainObjectContainer.create.
Creates a Task with the given name and type, passing the given arguments to the javax.inject.Inject-annotated constructor, and adds it to this project tasks container.
Creates a Task with the specified name and type, adds it to the container, and configures it with the specified action.
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.tasks.TaskContainer.create.
Provides a property delegate that creates elements of the default collection type with the given configuration.
Provides a property delegate that creates elements of the given type.
Provides a property delegate that creates tasks of the default type with the given configuration.
Provides a property delegate that creates tasks of the given type.
Provides a property delegate that creates elements of the given type expressed as a java.lang.Class with the given configuration.
Provides a property delegate that creates elements of the given type with the given configuration.
Provides a property delegate that creates tasks of the given type expressed as a java.lang.Class with the given configuration.
Provides a property delegate that creates tasks of the given type with the given configuration.
Locates an object by name and casts it to the expected type T.
Locates an object by name and casts it to the expected type T then configures it.
Locates an object by name and casts it to the expected type.
Locates an object by name and casts it to the expected type then configures it.
Provides a property delegate that gets elements of the given type.
Provides a property delegate that gets elements of the given type and applies the given configuration.
Locates a task by name, without triggering its creation or configuration, failing if there is no such task.
Configures a task by name, without triggering its creation or configuration, failing if there is no such task.
Locates a task by name and type, without triggering its creation or configuration, failing if there is no such task.
Allows a TaskContainer to be configured via an augmented DSL that includes a shorthand string notation for configuring existing tasks.
Creates a domain object with the specified name and type if it does not exists, and adds it to the container.
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.PolymorphicDomainObjectContainer.maybeCreate.
Locates an object by name and type, without triggering its creation or configuration, failing if there is no such object.
Locates a task by name and type, without triggering its creation or configuration, failing if there is no such task.
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.NamedDomainObjectCollection.named.
Configures an object by name and type, without triggering its creation or configuration, failing if there is no such object.
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.tasks.TaskCollection.named.
Configures a task by name and type, without triggering its creation or configuration, failing if there is no such task.
Allows a NamedDomainObjectCollection to be used as a property delegate.
Defines a new object, which will be created when it is required.
Defines a new task, which will be created when it is required.
Defines and configure a new object, which will be created when it is required.
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.PolymorphicDomainObjectContainer.register.
Defines a new task, which will be created when it is required passing the given arguments to the javax.inject.Inject-annotated constructor.
Defines and configure a new task, which will be created when it is required.
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.tasks.TaskContainer.register.
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.tasks.TaskContainer.replace.
Returns a collection containing the objects in this collection of the given type. The returned collection is live, so that when matching objects are later added to this collection, they are also visible in the filtered collection.
Returns a collection containing the objects in this collection of the given type. Equivalent to calling withType(type).all(configureAction)
.
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.DomainObjectCollection.withType.
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.DomainObjectSet.withType.
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.NamedDomainObjectCollection.withType.
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.NamedDomainObjectSet.withType.
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.tasks.TaskCollection.withType.