Dependency Constraint Factory
Factory class for creating DependencyConstraint instances, with strong typing.
An instance of the factory can be injected into a task, plugin or other object by annotating a public constructor or property getter method with javax.inject.Inject.
Note: This interface is not intended for implementation by build script or plugin authors.
Since
8.7
Functions
Link copied to clipboard
Create a DependencyConstraint from the
"group:name:version"
notation.Create a DependencyConstraint from a MinimalExternalModuleDependency.
Create a DependencyConstraint from a ProjectDependency.
abstract fun create(@Nullable group: String, name: String, @Nullable version: String): DependencyConstraint
Create a DependencyConstraint from a series of strings.