api / org.gradle.platform.base / BinaryTasksCollection

BinaryTasksCollection

@Incubating interface BinaryTasksCollection : DomainObjectSet<Task>

A collection of tasks associated to a binary

Functions

create

abstract fun <T : Task> create(name: String, type: Class<T>, config: Action<in T>): Unit

getBuild

abstract fun getBuild(): Task

The task that can be used to assemble this binary.

getCheck

abstract fun getCheck(): Task

The task that can be used to check this binary.

taskName

abstract fun taskName(verb: String): String
abstract fun taskName(verb: String, object: String): String

Generates a name for a task that performs some action on the binary.

Inherited Functions

findAll

abstract fun findAll(spec: Closure<Any>): MutableSet<T>

{@inheritDoc}

matching

abstract fun matching(spec: Spec<in T>): DomainObjectSet<T>
abstract fun matching(spec: Closure<Any>): DomainObjectSet<T>

{@inheritDoc}

withType

abstract fun <S : T> withType(type: Class<S>): DomainObjectSet<S>

{@inheritDoc}

Inheritors

TasksCollection

interface TasksCollection : BinaryTasksCollection

Provides access to key tasks used for building the binary.

TasksCollection

interface TasksCollection : BinaryTasksCollection

Provides access to key tasks used for building the binary.

TasksCollection

interface TasksCollection : BinaryTasksCollection

Provides access to key tasks used for building the binary.

TasksCollection

interface TasksCollection : BinaryTasksCollection

Provides access to key tasks used for building the binary.

TestSuiteTaskCollection

interface TestSuiteTaskCollection : BinaryTasksCollection

Provides access to key tasks used by a test suite.