Class VersionsProps
java.lang.Object
com.palantir.gradle.versions.VersionsProps
A
versions.props file.-
Method Summary
Modifier and TypeMethodDescriptionStream<org.gradle.api.artifacts.DependencyConstraint> constructConstraints(com.palantir.gradle.versions.DependencyConstraintCreator constraintCreator) static VersionsPropsgetPlatform(org.gradle.api.artifacts.ModuleIdentifier dependency) Returns the most specific platform for the given dependency, unless the dependency has a more specific exact version defined, in which case returnOptional.empty().getStarVersion(org.gradle.api.artifacts.ModuleIdentifier dependency) Get a recommended version for a module if it matches one of the non-exact platforms.static VersionsPropsloadFromFile(Path path)
-
Method Details
-
getFuzzyResolver
-
loadFromFile
-
fromLines
-
constructConstraints
public Stream<org.gradle.api.artifacts.DependencyConstraint> constructConstraints(com.palantir.gradle.versions.DependencyConstraintCreator constraintCreator) -
getStarVersion
Get a recommended version for a module if it matches one of the non-exact platforms. This is necessary for direct dependency injection, which is not supported by virtual platforms. See gradle#7954 for more details. -
getPlatform
Returns the most specific platform for the given dependency, unless the dependency has a more specific exact version defined, in which case returnOptional.empty().
-