Class/Object

sbt.librarymanagement

ModuleID

Related Docs: object ModuleID | package librarymanagement

Permalink

final class ModuleID extends ModuleIDExtra with Serializable

Linear Supertypes
Serializable, Serializable, ModuleIDExtra, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ModuleID
  2. Serializable
  3. Serializable
  4. ModuleIDExtra
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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.

    Definition Classes
    ModuleIDExtra
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def attributeString: String

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleIDExtra
  7. def branch(branchName: Option[String]): ModuleID

    Permalink
    Definition Classes
    ModuleIDExtra
  8. def branch(branchName: String): ModuleID

    Permalink

    Sets the Ivy branch of this module.

    Sets the Ivy branch of this module.

    Definition Classes
    ModuleIDExtra
  9. val branchName: Option[String]

    Permalink
    Definition Classes
    ModuleIDModuleIDExtra
  10. 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.

    Definition Classes
    ModuleIDExtra
  11. def classifier(c: String): ModuleID

    Permalink

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

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

    Definition Classes
    ModuleIDExtra
  12. def clone(): AnyRef

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

    Permalink
    Definition Classes
    ModuleIDModuleIDExtra
  14. def copy(organization: String = organization, name: String = name, revision: String = revision, configurations: Option[String] = configurations, isChanging: Boolean = isChanging, isTransitive: Boolean = isTransitive, isForce: Boolean = isForce, explicitArtifacts: Vector[Artifact] = explicitArtifacts, inclusions: Vector[InclExclRule] = inclusions, exclusions: Vector[InclExclRule] = exclusions, extraAttributes: Map[String, String] = extraAttributes, crossVersion: CrossVersion = crossVersion, branchName: Option[String] = branchName): ModuleID

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ModuleIDModuleIDExtra
  15. 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.

    Definition Classes
    ModuleIDExtra
  16. val crossVersion: CrossVersion

    Permalink
    Definition Classes
    ModuleIDModuleIDExtra
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(o: Any): Boolean

    Permalink
    Definition Classes
    ModuleID → AnyRef → Any
  19. def exclude(org: String, name: String): ModuleID

    Permalink

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

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

    Definition Classes
    ModuleIDExtra
  20. 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.

    Definition Classes
    ModuleIDExtra
  21. val exclusions: Vector[InclExclRule]

    Permalink
    Definition Classes
    ModuleIDModuleIDExtra
  22. val explicitArtifacts: Vector[Artifact]

    Permalink
    Definition Classes
    ModuleIDModuleIDExtra
  23. 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.

    Definition Classes
    ModuleIDExtra
  24. val extraAttributes: Map[String, String]

    Permalink
    Definition Classes
    ModuleIDModuleIDExtra
  25. 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).

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

    Definition Classes
    ModuleIDExtra
  26. def extraString: String

    Permalink

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

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

    Definition Classes
    ModuleIDExtra
  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. 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.

    Definition Classes
    ModuleIDExtra
  29. 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.

    Definition Classes
    ModuleIDExtra
  30. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  31. def hashCode(): Int

    Permalink
    Definition Classes
    ModuleID → AnyRef → Any
  32. val inclusions: Vector[InclExclRule]

    Permalink
    Definition Classes
    ModuleIDModuleIDExtra
  33. def intransitive(): ModuleID

    Permalink

    Do not follow dependencies of this module.

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

    Definition Classes
    ModuleIDExtra
  34. val isChanging: Boolean

    Permalink
    Definition Classes
    ModuleIDModuleIDExtra
  35. val isForce: Boolean

    Permalink
    Definition Classes
    ModuleIDModuleIDExtra
  36. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  37. val isTransitive: Boolean

    Permalink
    Definition Classes
    ModuleIDModuleIDExtra
  38. 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.

    Definition Classes
    ModuleIDExtra
  39. 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.

    Definition Classes
    ModuleIDExtra
  40. val name: String

    Permalink
    Definition Classes
    ModuleIDModuleIDExtra
  41. final def ne(arg0: AnyRef): Boolean

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

    Permalink

    Do not follow dependencies of this module.

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

    Definition Classes
    ModuleIDExtra
  43. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  45. val organization: String

    Permalink
    Definition Classes
    ModuleIDModuleIDExtra
  46. def pomOnly(): ModuleID

    Permalink
    Definition Classes
    ModuleIDExtra
  47. val revision: String

    Permalink
    Definition Classes
    ModuleIDModuleIDExtra
  48. 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.

    Definition Classes
    ModuleIDExtra
  49. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    ModuleID → AnyRef → Any
  51. def toStringImpl: String

    Permalink
    Attributes
    protected
    Definition Classes
    ModuleIDExtra
  52. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. def withBranchName(branchName: Option[String]): ModuleID

    Permalink
  56. def withConfigurations(configurations: Option[String]): ModuleID

    Permalink
  57. def withCrossVersion(crossVersion: CrossVersion): ModuleID

    Permalink
  58. def withExclusions(exclusions: Vector[InclExclRule]): ModuleID

    Permalink
  59. def withExplicitArtifacts(explicitArtifacts: Vector[Artifact]): ModuleID

    Permalink
  60. def withExtraAttributes(extraAttributes: Map[String, String]): ModuleID

    Permalink
  61. def withInclusions(inclusions: Vector[InclExclRule]): ModuleID

    Permalink
  62. def withIsChanging(isChanging: Boolean): ModuleID

    Permalink
  63. def withIsForce(isForce: Boolean): ModuleID

    Permalink
  64. def withIsTransitive(isTransitive: Boolean): ModuleID

    Permalink
  65. 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.

    Definition Classes
    ModuleIDExtra
  66. def withName(name: String): ModuleID

    Permalink
  67. def withOrganization(organization: String): ModuleID

    Permalink
  68. def withRevision(revision: String): ModuleID

    Permalink
  69. 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.

    Definition Classes
    ModuleIDExtra

Deprecated Value Members

  1. def cross(v: Boolean): ModuleID

    Permalink
    Definition Classes
    ModuleIDExtra
    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 ModuleIDExtra

Inherited from AnyRef

Inherited from Any

Ungrouped