inline fun <T : Any> ERROR CLASS: Symbol not found for org.gradle.api.Project
.container(type: KClass<T>): ERROR CLASS: Symbol not found for org.gradle.api.NamedDomainObjectContainer<T>
(source) inline fun <T : Any> ERROR CLASS: Symbol not found for org.gradle.api.Project
.container(type: KClass<T>): ERROR CLASS: Symbol not found for org.gradle.api.NamedDomainObjectContainer<T>
(source) inline fun <T : Any> ERROR CLASS: Symbol not found for org.gradle.api.Project
.container(type: KClass<T>, factory: ERROR CLASS: Symbol not found for org.gradle.api.NamedDomainObjectFactory<T>): ERROR CLASS: Symbol not found for org.gradle.api.NamedDomainObjectContainer<T>
(source) inline fun <T : Any> ERROR CLASS: Symbol not found for org.gradle.api.Project
.container(type: KClass<T>, factory: ERROR CLASS: Symbol not found for org.gradle.api.NamedDomainObjectFactory<T>): ERROR CLASS: Symbol not found for org.gradle.api.NamedDomainObjectContainer<T>
(source) Deprecated
Deprecated Gradle API
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.Project.container.
org.gradle.api.Project.container
inline fun <T : Any> ERROR CLASS: Symbol not found for Project
.container(): ERROR CLASS: Symbol not found for NamedDomainObjectContainer<T>
(source) Deprecated
Replaced by ObjectFactory method
Replace with
objects.domainObjectContainer(T::class.java)
Creates a container for managing named objects of the specified type.
The specified type must have a public constructor which takes the name as a String parameter.
All objects MUST expose their name as a bean property named name. The name must be constant for the life of the object.
Return
The container.
The type of objects for the container to contain.
inline fun <T : Any> ERROR CLASS: Symbol not found for Project
.container(noinline factory: (String) -> T): ERROR CLASS: Symbol not found for NamedDomainObjectContainer<T>
(source) Deprecated
Replaced by ObjectFactory method
Replace with
objects.domainObjectContainer(T::class.java, factory)
Creates a container for managing named objects of the specified type.
The given factory is used to create object instances.
All objects MUST expose their name as a bean property named name. The name must be constant for the life of the object.
Return
The container.
The factory to use to create object instances.
The type of objects for the container to contain.