create
Creates a dependency on a module without adding it to a configuration.
Return
The dependency.
Parameters
the group of the module to be added as a dependency.
the name of the module to be added as a dependency.
the optional version of the module to be added as a dependency.
the optional configuration of the module to be added as a dependency.
the optional classifier of the module artifact to be added as a dependency.
the optional extension of the module artifact to be added as a dependency.
See also
Creates a dependency without adding it to a configuration.
Return
The dependency.
Since
7.6
Parameters
The dependency donation.
The expression to use to configure the dependency.
Creates and adds a new extension to this container.
Return
the created instance
Since
5.0
Parameters
the instance type of the new extension
the extension's name
construction arguments
See also
Creates a domain object with the specified name and type, adds it to the container, and configures it with the specified action.
Return
the created domain object
Parameters
the name of the domain object to be created
an action for configuring the domain object
Throws
if a domain object with the specified name already exists or the container does not support creating a domain object with the specified type
Creates a domain object with the specified name and type, and adds it to the container.
Return
the created domain object
Parameters
the name of the domain object to be created
Throws
if a domain object with the specified name already exists or the container does not support creating a domain object with the specified type
Creates a Task with the given name and type, passing the given arguments to the javax.inject.Inject-annotated constructor, and adds it to this project tasks container.
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.PolymorphicDomainObjectContainer.create.
See also
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.platform.base.BinaryTasksCollection.create.
See also
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.plugins.ExtensionContainer.create.
Since
3.5
See also
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.plugins.ExtensionContainer.create.
See also
Kotlin extension function for org.gradle.api.tasks.TaskContainer.create.
See also
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.tasks.TaskContainer.create.
See also
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.tasks.TaskContainer.create.
Since
4.7
See also
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.model.ModelMap.create.