api / org.gradle.api.artifacts / ModuleVersionSelector / matchesStrictly

matchesStrictly

@Incubating 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.

Return
if this selector matches exactly the given identifier.