Class DirectDependencyScopes

java.lang.Object
com.palantir.gradle.versions.DirectDependencyScopes

public final class DirectDependencyScopes extends Object
Keeps track of the VersionsLockPlugin.GcvScope of direct dependencies.
  • Method Details

    • getScopeFor

      public Optional<VersionsLockPlugin.GcvScope> getScopeFor(org.gradle.api.artifacts.ModuleIdentifier moduleIdentifier)
      Returns the scope if the moduleIdentifier was used in a direct dependency from one of the locked configurations in this build. Otherwise, returns Optional.empty().