api / org.gradle.api.artifacts / VersionConstraint / getRejectedVersions

getRejectedVersions

abstract fun getRejectedVersions(): MutableList<String>

Returns the list of versions that this module rejects (which may be exact versions, or ranges, anything that fits into a version string).

Return
the list of rejected versions