interface ModuleVersionSelector
Selects a module version. If you need to change this interface, you're probably doing it wrong: it is superceded by org.gradle.api.artifacts.component.ModuleComponentSelector, so check this first, and only add methods here if it's for bridging.
abstract fun getGroup(): String
The group of the module. |
|
abstract fun getModule(): ModuleIdentifier
The module identifier of the component. Returns the same information as |
|
abstract fun getName(): String
The name of the module. |
|
abstract fun getVersion(): String
The version of the module |
|
abstract fun getVersionConstraint(): VersionConstraint
Returns the version constraint to be used during selection. |
|
abstract fun matchesStrictly(identifier: ModuleVersionIdentifier): Boolean
To match strictly means that the given identifier needs to have equal group, module name and version. It does not smartly match dynamic versions, e.g. '1.+' selector does not strictly match '1.2' identifier. |
interface DependencyConstraint : ModuleVersionSelector, HasConfigurableAttributes<DependencyConstraint>
Represents a constraints over all, including transitive, dependencies. |
|
interface ExternalDependency : ModuleDependency, ModuleVersionSelector
An |