creating
Provides a property delegate that creates elements of the default collection type with the given configuration.
val myElement by myContainer.creating { myProperty = 42 }
Provides a property delegate that creates elements of the given type.
Provides a property delegate that creates elements of the given type with the given configuration.
Provides a property delegate that creates elements of the given type expressed as a java.lang.Class with the given configuration.
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
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 registering instead. See https://docs.gradle.org/current/userguide/task_configuration_avoidance.html for more information.
Replace with
registering
Provides a property delegate that creates tasks of the default type.