TaskContainer

interface TaskContainer

Functions

registerTask
Link copied to clipboard
common
abstract fun registerTask(taskName: Name, task: Task<*>)

Inheritors

WorkspaceBuilder
Link copied to clipboard
WorkspacePlugin
Link copied to clipboard

Extensions

registerTask
Link copied to clipboard
common
inline fun <T : Any> TaskContainer.registerTask(name: String, noinline descriptorBuilder: MetaDescriptorBuilder.() -> Unit = {}, noinline builder: suspend TaskResultBuilder<T>.() -> Unit)
task
Link copied to clipboard
common
inline fun <T : Any> TaskContainer.task(descriptor: MetaDescriptor, noinline builder: suspend TaskResultBuilder<T>.() -> Unit): PropertyDelegateProvider<Any?, ReadOnlyProperty<Any?, TaskReference<T>>>
inline fun <T : Any> TaskContainer.task(noinline descriptorBuilder: MetaDescriptorBuilder.() -> Unit = {}, noinline builder: suspend TaskResultBuilder<T>.() -> Unit): PropertyDelegateProvider<Any?, ReadOnlyProperty<Any?, TaskReference<T>>>