Dependencies
Universal APIs that are available for all dependencies
blocks.
Since
7.6
See also
<a href="https://docs. gradle. org/current/userguide/implementing_gradle_plugins_binary. html#custom_dependencies_blocks">Creating custom dependencies blocks. </a>
Inheritors
Functions
Link copied to clipboard
Create a DependencyConstraint from the given notation.
Create a DependencyConstraint from a project.
open fun constraint(dependencyConstraint: Provider<out MinimalExternalModuleDependency>): Provider<out DependencyConstraint>
open fun constraint(dependencyConstraint: ProviderConvertible<out MinimalExternalModuleDependency>): Provider<out DependencyConstraint>
Create a DependencyConstraint from a minimal dependency.
Link copied to clipboard
A dependency constraint factory is used to convert supported dependency notations into DependencyConstraint instances.
Link copied to clipboard
A dependency factory is used to convert supported dependency notations into org.gradle.api.artifacts.Dependency instances.
Link copied to clipboard
Injected service to create named objects.
Link copied to clipboard
The current project.
Link copied to clipboard
Create an ExternalModuleDependency from the given notation.
open fun module(@Nullable group: String, name: String, @Nullable version: String): ExternalModuleDependency
Create an ExternalModuleDependency from a series of strings.
Link copied to clipboard
Returns the current project as a ProjectDependency.
Converts an absolute or relative path to a project into a ProjectDependency.