# ModuleVersionSelector

interface ModuleVersionSelector(source)

Selects a module version. If you need to change this interface, you're probably doing it wrong: it is superseded by org.gradle.api.artifacts.component.ModuleComponentSelector, so check this first, and only add methods here if it's for bridging.

#### Inheritors

ExternalDependency
DependencyConstraint

## Functions

getGroup
Link copied to clipboard
abstract fun getGroup(): String
The group of the module.
getModule
Link copied to clipboard
abstract fun getModule(): ModuleIdentifier
The module identifier of the component.
getName
Link copied to clipboard
abstract fun getName(): String
The name of the module.
getVersion
Link copied to clipboard
@Nullable
abstract fun getVersion(): @Nullable String
The version of the module.
matchesStrictly
Link copied to clipboard
abstract fun matchesStrictly(identifier: ModuleVersionIdentifier): Boolean
To match strictly means that the given identifier needs to have equal group, module name and version.