creating
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 }
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.
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.
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.
Deprecated
Use registering instead. See https://docs.gradle.org/current/userguide/task_configuration_avoidance.html for more information.
Replace with
registering(configuration)Provides a property delegate that creates tasks of the default type with the given configuration.
val someTask by tasks.creating { onlyIf = true }
Deprecated
Use registering instead. See https://docs.gradle.org/current/userguide/task_configuration_avoidance.html for more information.
Replace with
registering(type)Provides a property delegate that creates tasks of the given type.
Deprecated
Use registering instead. See https://docs.gradle.org/current/userguide/task_configuration_avoidance.html for more information.
Replace with
registering(type, configuration)Provides a property delegate that creates tasks of the given type with the given configuration.
Deprecated
Use registering instead. See https://docs.gradle.org/current/userguide/task_configuration_avoidance.html for more information.
Replace with
registering(type, configuration)Provides a property delegate that creates tasks of the given type expressed as a java.lang.Class with the given configuration.
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.
Deprecated
Use registering instead. See https://docs.gradle.org/current/userguide/task_configuration_avoidance.html for more information.
Replace with
registeringProvides a property delegate that creates tasks of the default type.