api / org.gradle.api.artifacts / VersionConstraint / getBranch

getBranch

abstract fun getBranch(): String

The branch to select versions from. When not null selects only those versions that were built from the specified branch.

Since
4.6