Class/Object

sbt.librarymanagement

ModuleID

Related Docs: object ModuleID | package librarymanagement

Permalink

final case class ModuleID(organization: String, name: String, revision: String, configurations: Option[String] = None, isChanging: Boolean = false, isTransitive: Boolean = true, isForce: Boolean = false, explicitArtifacts: Seq[Artifact] = Nil, exclusions: Seq[ExclusionRule] = Nil, extraAttributes: Map[String, String] = Map.empty, crossVersion: CrossVersion = CrossVersion.Disabled) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ModuleID
  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 ModuleID(organization: String, name: String, revision: String, configurations: Option[String] = None, isChanging: Boolean = false, isTransitive: Boolean = true, isForce: Boolean = false, explicitArtifacts: Seq[Artifact] = Nil, exclusions: Seq[ExclusionRule] = Nil, extraAttributes: Map[String, String] = Map.empty, crossVersion: CrossVersion = CrossVersion.Disabled)

    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(newArtifacts: Artifact*): ModuleID

    Permalink

    Declares the explicit artifacts for this module.

    Declares the explicit artifacts for this module. If this ModuleID represents a dependency, these artifact definitions override the information in the dependency's published metadata.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def changing(): ModuleID

    Permalink

    Marks this dependency as "changing".

    Marks this dependency as "changing". Ivy will always check if the metadata has changed and then if the artifact has changed, redownload it. sbt configures all -SNAPSHOT dependencies to be changing.

    See the "Changes in artifacts" section of https://ant.apache.org/ivy/history/trunk/concept.html for full details.

  7. def classifier(c: String): ModuleID

    Permalink

    Adds a dependency on the artifact for this module with classifier c.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val configurations: Option[String]

    Permalink
  10. def cross(v: CrossVersion): ModuleID

    Permalink

    Specifies the cross-version behavior for this module.

    Specifies the cross-version behavior for this module. See [CrossVersion] for details.

  11. val crossVersion: CrossVersion

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def exclude(org: String, name: String): ModuleID

    Permalink

    Excludes the dependency with organization org and name from being introduced by this dependency during resolution.

  14. def excludeAll(rules: ExclusionRule*): ModuleID

    Permalink

    Applies the provided exclusions to dependencies of this module.

    Applies the provided exclusions to dependencies of this module. Note that only exclusions that specify both the exact organization and name and nothing else will be included in a pom.xml.

  15. val exclusions: Seq[ExclusionRule]

    Permalink
  16. val explicitArtifacts: Seq[Artifact]

    Permalink
  17. def extra(attributes: (String, String)*): ModuleID

    Permalink

    Adds extra attributes for this module.

    Adds extra attributes for this module. All keys are prefixed with e: if they are not already so prefixed. This information will only be published in an ivy.xml and not in a pom.xml.

  18. val extraAttributes: Map[String, String]

    Permalink
  19. def extraDependencyAttributes: Map[String, String]

    Permalink

    Returns the extra attributes except for ones marked as information only (ones that typically would not be used for dependency resolution).

  20. def extraString: String

    Permalink

    String representation of the extra attributes, excluding any information only attributes.

  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def force(): ModuleID

    Permalink

    Indicates that conflict resolution should only select this module's revision.

    Indicates that conflict resolution should only select this module's revision. This prevents a newer revision from being pulled in by a transitive dependency, for example.

  23. def from(url: String): ModuleID

    Permalink

    Specifies a URL from which the main artifact for this dependency can be downloaded.

    Specifies a URL from which the main artifact for this dependency can be downloaded. This value is only consulted if the module is not found in a repository. It is not included in published metadata.

  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def intransitive(): ModuleID

    Permalink

    Do not follow dependencies of this module.

    Do not follow dependencies of this module. Synonym for notTransitive.

  26. val isChanging: Boolean

    Permalink
  27. val isForce: Boolean

    Permalink
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. val isTransitive: Boolean

    Permalink
  30. def jar(): ModuleID

    Permalink

    Declares a dependency on the main artifact.

    Declares a dependency on the main artifact. This is implied by default unless artifacts are explicitly declared, such as when adding a dependency on an artifact with a classifier.

  31. def javadoc(): ModuleID

    Permalink

    Not recommended for new use.

    Not recommended for new use. This method is not deprecated, but the update-classifiers task is preferred for performance and correctness. This method adds a dependency on this module's artifact with the "javadoc" classifier. If you want to also depend on the main artifact, be sure to also call jar() or use withJavadoc() instead.

  32. val name: String

    Permalink
  33. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  34. def notTransitive(): ModuleID

    Permalink

    Do not follow dependencies of this module.

    Do not follow dependencies of this module. Synonym for intransitive.

  35. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  37. val organization: String

    Permalink
  38. def pomOnly(): ModuleID

    Permalink
  39. val revision: String

    Permalink
  40. def sources(): ModuleID

    Permalink

    Not recommended for new use.

    Not recommended for new use. This method is not deprecated, but the update-classifiers task is preferred for performance and correctness. This method adds a dependency on this module's artifact with the "sources" classifier. If you want to also depend on the main artifact, be sure to also call jar() or use withSources() instead.

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

    Permalink
    Definition Classes
    AnyRef
  42. def toString(): String

    Permalink
    Definition Classes
    ModuleID → AnyRef → Any
  43. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def withJavadoc(): ModuleID

    Permalink

    Not recommended for new use.

    Not recommended for new use. This method is not deprecated, but the update-classifiers task is preferred for performance and correctness. This method adds a dependency on this module's artifact with the "javadoc" classifier. If there is not already an explicit dependency on the main artifact, this adds one.

  47. def withSources(): ModuleID

    Permalink

    Not recommended for new use.

    Not recommended for new use. This method is not deprecated, but the update-classifiers task is preferred for performance and correctness. This method adds a dependency on this module's artifact with the "sources" classifier. If there is not already an explicit dependency on the main artifact, this adds one.

Deprecated Value Members

  1. def cross(v: Boolean, verRemap: (String) ⇒ String): ModuleID

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use cross(CrossVersion), the variant accepting a CrossVersion value constructed by a member of the CrossVersion object instead.

  2. def cross(v: Boolean): ModuleID

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use cross(CrossVersion), the variant accepting a CrossVersion value constructed by a member of the CrossVersion object instead.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped