Packages

class DependencyResolution extends AnyRef

Library management API to resolve dependencies.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DependencyResolution
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def directDependenciesNames(module: ModuleDescriptor): String
    Attributes
    protected
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def moduleDescriptor(moduleId: ModuleID, directDependencies: Vector[ModuleID], scalaModuleInfo: Option[ScalaModuleInfo]): ModuleDescriptor

    Build a ModuleDescriptor that describes a subproject with dependencies.

    Build a ModuleDescriptor that describes a subproject with dependencies.

    moduleId

    The root module for which to create a ModuleDescriptor.

    directDependencies

    The direct dependencies of the module.

    scalaModuleInfo

    The information about the Scala version used, if any.

    returns

    A ModuleDescriptor describing a subproject and its dependencies.

  14. def moduleDescriptor(moduleSetting: ModuleDescriptorConfiguration): ModuleDescriptor

    Builds a ModuleDescriptor that describes a subproject with dependencies.

    Builds a ModuleDescriptor that describes a subproject with dependencies.

    moduleSetting

    It contains the information about the module including the dependencies.

    returns

    A ModuleDescriptor describing a subproject and its dependencies.

  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def retrieve(module: ModuleDescriptor, retrieveDirectory: File, log: Logger): Either[UnresolvedWarning, Vector[File]]

    Resolves the given module's dependencies, and retrieves the artifacts to a directory.

    Resolves the given module's dependencies, and retrieves the artifacts to a directory.

    module

    The module to be resolved.

    retrieveDirectory

    The directory to retrieve the files.

    log

    The logger.

    returns

    The result, either an unresolved warning or a sequence of files.

  19. def retrieve(dependencyId: ModuleID, scalaModuleInfo: Option[ScalaModuleInfo], retrieveDirectory: File, log: Logger): Either[UnresolvedWarning, Vector[File]]

    Resolves the given dependency, and retrieves the artifacts to a directory.

    Resolves the given dependency, and retrieves the artifacts to a directory.

    dependencyId

    The dependency to be resolved.

    scalaModuleInfo

    The module info about Scala.

    retrieveDirectory

    The directory to retrieve the files.

    log

    The logger.

    returns

    The result, either an unresolved warning or a sequence of files.

  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def update(module: ModuleDescriptor, configuration: UpdateConfiguration, uwconfig: UnresolvedWarningConfiguration, log: Logger): Either[UnresolvedWarning, UpdateReport]

    Resolves the given module's dependencies performing a retrieval.

    Resolves the given module's dependencies performing a retrieval.

    module

    The module to be resolved.

    configuration

    The update configuration.

    uwconfig

    The configuration to handle unresolved warnings.

    log

    The logger.

    returns

    The result, either an unresolved warning or an update report. Note that this update report will or will not be successful depending on the missingOk option.

  23. def updateClassifiers(config: GetClassifiersConfiguration, uwconfig: UnresolvedWarningConfiguration, artifacts: Vector[(String, ModuleID, Artifact, File)], log: Logger): Either[UnresolvedWarning, UpdateReport]

    Creates explicit artifacts for each classifier in config.module, and then attempts to resolve them directly.

    Creates explicit artifacts for each classifier in config.module, and then attempts to resolve them directly. This is for Maven compatibility, where these artifacts are not "published" in the POM, so they don't end up in the Ivy that sbt generates for them either.
    Artifacts can be obtained from calling toSeq on UpdateReport.
    In addition, retrieves specific Ivy artifacts if they have one of the requested config.configuration.types.

    config

    important to set config.configuration.types to only allow artifact types that can correspond to "classified" artifacts (sources and javadocs).

  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. def wrapDependencyInModule(dependencyId: ModuleID, scalaModuleInfo: Option[ScalaModuleInfo]): ModuleDescriptor

    Returns a ModuleDescriptor that depends on dependencyId.

    Returns a ModuleDescriptor that depends on dependencyId.

    dependencyId

    The module to depend on.

    scalaModuleInfo

    The information about the Scala verson used, if any.

    returns

    A ModuleDescriptor that depends on dependencyId.

  28. def wrapDependencyInModule(dependencyId: ModuleID): ModuleDescriptor

    Returns a ModuleDescriptor that depends on dependencyId.

    Returns a ModuleDescriptor that depends on dependencyId.

    dependencyId

    The module to depend on.

    returns

    A ModuleDescriptor that depends on dependencyId.

Inherited from AnyRef

Inherited from Any

Ungrouped