findVersion

abstract fun findVersion(alias: String): Optional<VersionConstraint>

Returns the version constraint with the corresponding alias in the catalog.

Note: Alias will be automatically normalized: '-', '_' and '.' will be replaced with '.'

Parameters

alias

the alias of the version