existing

Idiomatic way of referring to the provider of a well-known element of a collection via a delegate property.

tasks { val jar by existing { ... } }

Parameters

T

the domain object type

C

the concrete container type

action

the configuration action


Idiomatic way of referring to the provider of a well-known element of a collection via a delegate property.

tasks { val jar by existing(Jar::class) }

Parameters

T

the domain object type

C

the concrete container type

type

the domain object type


Idiomatic way of referring to the provider of a well-known element of a collection via a delegate property.

tasks { val jar by existing(Jar::class) { ... } }

Parameters

T

the domain object type

C

the concrete container type

type

the domain object type

action

the configuration action


Idiomatic way of referring to the provider of a well-known element of a collection via a delegate property.

tasks { val jar by existing }

Parameters

T

the domain object type

C

the concrete container type