Package com.palantir.gradle.versions
Class DirectDependencyScopes
- java.lang.Object
-
- com.palantir.gradle.versions.DirectDependencyScopes
-
public final class DirectDependencyScopes extends java.lang.ObjectKeeps track of theVersionsLockPlugin.GcvScopeof direct dependencies.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDirectDependencyScopes.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.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.
-
-
-
Method Detail
-
getScopeFor
public java.util.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().
-
-