Class DirectDependencyScopes


  • public final class DirectDependencyScopes
    extends java.lang.Object
    Keeps track of the VersionsLockPlugin.GcvScope of direct dependencies.
    • 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 the moduleIdentifier was used in a direct dependency from one of the locked configurations in this build.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getScopeFor

        public java.util.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().