sbt

ModuleID

final case class ModuleID(organization: String, name: String, revision: String, configurations: Option[String] = scala.None, isChanging: Boolean = false, isTransitive: Boolean = true, isForce: Boolean = false, explicitArtifacts: Seq[Artifact] = immutable.this.Nil, exclusions: Seq[ExclusionRule] = immutable.this.Nil, extraAttributes: Map[String, String] = ..., 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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ModuleID(organization: String, name: String, revision: String, configurations: Option[String] = scala.None, isChanging: Boolean = false, isTransitive: Boolean = true, isForce: Boolean = false, explicitArtifacts: Seq[Artifact] = immutable.this.Nil, exclusions: Seq[ExclusionRule] = immutable.this.Nil, extraAttributes: Map[String, String] = ..., crossVersion: CrossVersion = CrossVersion.Disabled)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def artifacts(newArtifacts: Artifact*): ModuleID

    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.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def changing(): ModuleID

    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.

  9. def classifier(c: String): ModuleID

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

  10. def clone(): AnyRef

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

  12. def cross(v: CrossVersion): ModuleID

    Specifies the cross-version behavior for this module.

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

  13. val crossVersion: CrossVersion

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

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

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

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

    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.

  17. val exclusions: Seq[ExclusionRule]

  18. val explicitArtifacts: Seq[Artifact]

  19. def extra(attributes: (String, String)*): ModuleID

    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.

  20. val extraAttributes: Map[String, String]

  21. def extraDependencyAttributes: Map[String, String]

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

  22. def extraString: String

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

  23. def finalize(): Unit

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

    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.

  25. def from(url: String): ModuleID

    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.

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

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

    Do not follow dependencies of this module.

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

  28. val isChanging: Boolean

  29. val isForce: Boolean

  30. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  31. val isTransitive: Boolean

  32. def jar(): ModuleID

    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.

  33. def javadoc(): ModuleID

    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.

  34. val name: String

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

    Definition Classes
    AnyRef
  36. def notTransitive(): ModuleID

    Do not follow dependencies of this module.

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

  37. final def notify(): Unit

    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  39. val organization: String

  40. def pomOnly(): ModuleID

  41. val revision: String

  42. def sources(): ModuleID

    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.

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

    Definition Classes
    AnyRef
  44. def toString(): String

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

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

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

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

    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.

  49. def withSources(): ModuleID

    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

    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

    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