Class/Object

coursier.core

Resolution

Related Docs: object Resolution | package core

Permalink

case class Resolution(rootDependencies: Set[Dependency], dependencies: Set[Dependency], forceVersions: Map[Module, String], conflicts: Set[Dependency], projectCache: Map[Resolution.ModuleVersion, (Source, Project)], errorCache: Map[Resolution.ModuleVersion, Seq[String]], filter: Option[(Dependency) ⇒ Boolean], profileActivation: Option[(String, Activation, Map[String, String]) ⇒ Boolean]) extends Product with Serializable

State of a dependency resolution.

Done if method isDone returns true.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Resolution
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Resolution(rootDependencies: Set[Dependency], dependencies: Set[Dependency], forceVersions: Map[Module, String], conflicts: Set[Dependency], projectCache: Map[Resolution.ModuleVersion, (Source, Project)], errorCache: Map[Resolution.ModuleVersion, Seq[String]], filter: Option[(Dependency) ⇒ Boolean], profileActivation: Option[(String, Activation, Map[String, String]) ⇒ Boolean])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def artifacts: Seq[Artifact]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val conflicts: Set[Dependency]

    Permalink
  8. val dependencies: Set[Dependency]

    Permalink
  9. def dependencyManagementMissing(project: Project): Set[Resolution.ModuleVersion]

    Permalink

    Missing modules in cache, to get the full list of dependencies of project, taking dependency management / inheritance into account.

    Missing modules in cache, to get the full list of dependencies of project, taking dependency management / inheritance into account.

    Note that adding the missing modules to the cache may unveil other missing modules, so these modules should be added to the cache, and dependencyManagementMissing checked again for new missing modules.

  10. def dependencyManagementRequirements(project: Project): Set[Resolution.ModuleVersion]

    Permalink

    Required modules for the dependency management of project.

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. val errorCache: Map[Resolution.ModuleVersion, Seq[String]]

    Permalink
  13. def errors: Seq[(Dependency, Seq[String])]

    Permalink
  14. val filter: Option[(Dependency) ⇒ Boolean]

    Permalink
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. val forceVersions: Map[Module, String]

    Permalink
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def isDone: Boolean

    Permalink

    Whether the resolution is done.

  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def minDependencies: Set[Dependency]

    Permalink
  21. def missingFromCache: Set[Resolution.ModuleVersion]

    Permalink

    The modules we miss some info about.

  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def newDependencies: Set[Dependency]

    Permalink

    The final next dependency set, stripped of no more required ones.

  24. def nextDependenciesAndConflicts: (Seq[Dependency], Seq[Dependency])

    Permalink

    The "next" dependency set, made of the current dependencies and their transitive dependencies, trying to solve version conflicts.

    The "next" dependency set, made of the current dependencies and their transitive dependencies, trying to solve version conflicts. Transitive dependencies are calculated with the current cache.

    May contain dependencies added in previous iterations, but no more required. These are filtered below, see newDependencies.

    Returns a tuple made of the conflicting dependencies, and all the dependencies.

  25. final def nextIfNoMissing: Resolution

    Permalink

    If no module info is missing, the next state of the resolution, which can be immediately calculated.

    If no module info is missing, the next state of the resolution, which can be immediately calculated. Else, the current resolution.

    Annotations
    @tailrec()
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. val profileActivation: Option[(String, Activation, Map[String, String]) ⇒ Boolean]

    Permalink
  29. val projectCache: Map[Resolution.ModuleVersion, (Source, Project)]

    Permalink
  30. def remainingDependencies: Set[Dependency]

    Permalink

    Returns dependencies from the "next" dependency set, filtering out those that are no more required.

    Returns dependencies from the "next" dependency set, filtering out those that are no more required.

    The versions of all the dependencies returned are erased (emptied).

  31. def reverseDependencies: Map[Dependency, Vector[Dependency]]

    Permalink

    Returns a map giving the dependencies that brought each of the dependency of the "next" dependency set.

    Returns a map giving the dependencies that brought each of the dependency of the "next" dependency set.

    The versions of all the dependencies returned are erased (emptied).

  32. val rootDependencies: Set[Dependency]

    Permalink
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def transitiveDependencies: Seq[Dependency]

    Permalink

    Transitive dependencies of the current dependencies, according to what there currently is in cache.

    Transitive dependencies of the current dependencies, according to what there currently is in cache.

    No attempt is made to solve version conflicts here.

  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def withDependencyManagement(project: Project): Project

    Permalink

    Add dependency management / inheritance related items to project, from what's available in cache.

    Add dependency management / inheritance related items to project, from what's available in cache.

    It is recommended to have fetched what dependencyManagementMissing returned prior to calling this.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped