object Resolution extends Serializable
- Alphabetic
- By Inheritance
- Resolution
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addDependencies(deps: Seq[Seq[(Configuration, Dependency)]]): Seq[(Configuration, Dependency)]
- def apply(rootDependencies: Seq[Dependency], dependencySet: DependencySet, forceVersions: Map[Module, String], conflicts: Set[Dependency], projectCache: Map[ModuleVersion, (ArtifactSource, Project)], errorCache: Map[ModuleVersion, Seq[String]], finalDependenciesCache: Map[Dependency, Seq[Dependency]], filter: Option[(Dependency) => Boolean], reconciliation: Option[(Module) => Reconciliation], osInfo: Os, jdkVersion: Option[Version], userActivations: Option[Map[String, Boolean]], mapDependencies: Option[(Dependency) => Dependency], extraProperties: Seq[(String, String)], forceProperties: Map[String, String], defaultConfiguration: Configuration): Resolution
- def apply(): Resolution
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def defaultFilter(dep: Dependency): Boolean
Default dependency filter used during resolution.
Default dependency filter used during resolution.
Does not follow optional dependencies.
- val defaultTypes: Set[Type]
- def depsWithDependencyManagement(dependencies: Seq[(Configuration, Dependency)], dependencyManagement: Seq[(Configuration, Dependency)]): Seq[(Configuration, Dependency)]
Applies
dependencyManagement
todependencies
.Applies
dependencyManagement
todependencies
.Fill empty version / scope / exclusions, for dependencies found in
dependencyManagement
. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hasProps(s: String): Boolean
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def merge(dependencies: Seq[Dependency], forceVersions: Map[Module, String], reconciliation: Option[(Module) => Reconciliation], preserveOrder: Boolean = false): (Seq[Dependency], Seq[Dependency], Map[Module, String])
Merge several dependencies, solving version constraints of duplicated modules.
Merge several dependencies, solving version constraints of duplicated modules.
Returns the conflicted dependencies, and the merged others.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def overrideFullSuffix(sv: String): (Dependency) => Dependency
Replaces the full suffix _2.12.8 with the given Scala version.
- def overrideScalaModule(sv: String, scalaOrg: Organization): (Dependency) => Dependency
- def overrideScalaModule(sv: String): (Dependency) => Dependency
- def profileIsActive(profile: Profile, properties: Map[String, String], osInfo: Os, jdkVersion: Option[Version], userActivations: Option[Map[String, Boolean]]): Boolean
- def profiles(project: Project, properties: Map[String, String], osInfo: Os, jdkVersion: Option[Version], userActivations: Option[Map[String, Boolean]]): Seq[Profile]
Get the active profiles of
project
, using the current propertiesproperties
, andprofileActivations
stating if a profile is active. - def projectProperties(project: Project): Seq[(String, String)]
- def substituteProps(s: String, properties: Map[String, String], trim: Boolean): String
- def substituteProps(s: String, properties: Map[String, String]): String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withExclusions(dependencies: Seq[(Configuration, Dependency)], exclusions: Set[(Organization, ModuleName)]): Seq[(Configuration, Dependency)]
Filters
dependencies
withexclusions
. - def withParentConfigurations(config: Configuration, configurations: Map[Configuration, Seq[Configuration]]): (Configuration, Set[Configuration])
- def withProperties(dependencies: Seq[(Configuration, Dependency)], properties: Map[String, String]): Seq[(Configuration, Dependency)]
Deprecated Value Members
- def forceScalaVersion(sv: String): (Dependency) => Dependency
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.17) Use overrideScalaModule and overrideFullSuffix instead