api / org.gradle.api / NamedDomainObjectFactory

NamedDomainObjectFactory

interface NamedDomainObjectFactory<T : Any>

A factory for named objects of type T.

Parameters

- The type of objects which this factory creates.

Functions

create

abstract fun create(name: String): T

Creates a new object with the given name.