Class DirectDependencyScopes
java.lang.Object
com.palantir.gradle.versions.DirectDependencyScopes
Keeps track of the
VersionsLockPlugin.GcvScope of direct dependencies.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetScopeFor(org.gradle.api.artifacts.ModuleIdentifier moduleIdentifier) Returns the scope if themoduleIdentifierwas used in a direct dependency from one of the locked configurations in this build.
-
Method Details
-
getScopeFor
public Optional<VersionsLockPlugin.GcvScope> getScopeFor(org.gradle.api.artifacts.ModuleIdentifier moduleIdentifier) Returns the scope if themoduleIdentifierwas used in a direct dependency from one of the locked configurations in this build. Otherwise, returnsOptional.empty().
-