# creating

fun <T : Any> ERROR CLASS: Symbol not found for NamedDomainObjectContainer<T>.creating(configuration: T.() -> Unit): NamedDomainObjectContainerCreatingDelegateProvider<T>(source)

### Deprecated

Use 'val element = create(name) { }' instead. See the Gradle 9.6 upgrading guide.

Provides a property delegate that creates elements of the default collection type with the given configuration.

`val myElement by myContainer.creating { myProperty = 42 }`

fun <T : Any, U : T> ERROR CLASS: Symbol not found for PolymorphicDomainObjectContainer<T>.creating(type: KClass<U>): ERROR CLASS: Cannot infer argument for type parameter T(source)

### Deprecated

Use 'val element = create<Type>(name)' instead. See the Gradle 9.6 upgrading guide.

Provides a property delegate that creates elements of the given type.

fun <T : Any, U : T> ERROR CLASS: Symbol not found for PolymorphicDomainObjectContainer<T>.creating(type: KClass<U>, configuration: U.() -> Unit): ERROR CLASS: Ambiguity: creating, [org/gradle/kotlin/dsl/creating, org/gradle/kotlin/dsl/creating, org/gradle/kotlin/dsl/creating, org/gradle/kotlin/dsl/creating, org/gradle/kotlin/dsl/creating, org/gradle/kotlin/dsl/creating](source)

### Deprecated

Use 'val element = create<Type>(name) { }' instead. See the Gradle 9.6 upgrading guide.

Provides a property delegate that creates elements of the given type with the given configuration.

fun <T : Any, U : T> ERROR CLASS: Symbol not found for PolymorphicDomainObjectContainer<T>.creating(type: Class<U>, configuration: U.() -> Unit): PolymorphicDomainObjectContainerCreatingDelegateProvider<U, U>(source)

### Deprecated

Use 'val element = create<Type>(name) { }' instead. See the Gradle 9.6 upgrading guide.

Provides a property delegate that creates elements of the given type expressed as a java.lang.Class with the given configuration.

fun ERROR CLASS: Symbol not found for TaskContainer.creating(configuration: ERROR CLASS: Symbol not found for Task.() -> Unit): ERROR CLASS: Cannot infer argument for type parameter T(source)

### Deprecated

Use registering instead. See https://docs.gradle.org/current/userguide/task_configuration_avoidance.html for more information.

#### Replace with

    registering(configuration)

Content copied to clipboard

Provides a property delegate that creates tasks of the default type with the given configuration.

`val someTask by tasks.creating { onlyIf = true }`

fun <U : ERROR CLASS: Symbol not found for Task> ERROR CLASS: Symbol not found for TaskContainer.creating(type: KClass<U>): ERROR CLASS: Cannot infer argument for type parameter T(source)

### Deprecated

Use registering instead. See https://docs.gradle.org/current/userguide/task_configuration_avoidance.html for more information.

#### Replace with

    registering(type)

Content copied to clipboard

Provides a property delegate that creates tasks of the given type.

fun <U : ERROR CLASS: Symbol not found for Task> ERROR CLASS: Symbol not found for TaskContainer.creating(type: KClass<U>, configuration: U.() -> Unit): ERROR CLASS: Ambiguity: creating, [org/gradle/kotlin/dsl/creating, org/gradle/kotlin/dsl/creating, org/gradle/kotlin/dsl/creating, org/gradle/kotlin/dsl/creating, org/gradle/kotlin/dsl/creating, org/gradle/kotlin/dsl/creating](source)

### Deprecated

Use registering instead. See https://docs.gradle.org/current/userguide/task_configuration_avoidance.html for more information.

#### Replace with

    registering(type, configuration)

Content copied to clipboard

Provides a property delegate that creates tasks of the given type with the given configuration.

fun <U : ERROR CLASS: Symbol not found for Task> ERROR CLASS: Symbol not found for TaskContainer.creating(type: Class<U>, configuration: U.() -> Unit): PolymorphicDomainObjectContainerCreatingDelegateProvider<U, U>?(source)

### Deprecated

Use registering instead. See https://docs.gradle.org/current/userguide/task_configuration_avoidance.html for more information.

#### Replace with

    registering(type, configuration)

Content copied to clipboard

Provides a property delegate that creates tasks of the given type expressed as a java.lang.Class with the given configuration.

val <T : Any> ERROR CLASS: Symbol not found for NamedDomainObjectContainer<T>.creating: ERROR CLASS: Cannot infer argument for type parameter T(source)

### Deprecated

Use 'val element = create(name)' instead. See the Gradle 9.6 upgrading guide.

Provides a property delegate that creates elements of the default collection type.

val ERROR CLASS: Symbol not found for TaskContainer.creating: ERROR CLASS: Cannot infer argument for type parameter T(source)

### Deprecated

Use registering instead. See https://docs.gradle.org/current/userguide/task_configuration_avoidance.html for more information.

#### Replace with

    registering

Content copied to clipboard

Provides a property delegate that creates tasks of the default type.