existing
Deprecated
Use 'val element = named(name) { }' instead. See the Gradle 9.6 upgrading guide.
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
the configuration action
Type Parameters
the domain object type
the concrete container type
Deprecated
Use 'val element = named<Type>(name)' instead. See the Gradle 9.6 upgrading guide.
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
the domain object type
Type Parameters
the domain object type
the concrete container type
Deprecated
Use 'val element = named<Type>(name) { }' instead. See the Gradle 9.6 upgrading guide.
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
the domain object type
the configuration action
Type Parameters
the domain object type
the concrete container type
Deprecated
Use 'val element = named(name)' instead. See the Gradle 9.6 upgrading guide.
Idiomatic way of referring to the provider of a well-known element of a collection via a delegate property.
tasks { val jar by existing }
Type Parameters
the domain object type
the concrete container type