Packages

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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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.

    Definition Classes
    ModuleIDExtra
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def attributeString: String
    Attributes
    protected
    Definition Classes
    ModuleIDExtra
  7. def branch(branchName: Option[String]): ModuleID
    Definition Classes
    ModuleIDExtra
  8. def branch(branchName: String): ModuleID

    Sets the Ivy branch of this module.

    Sets the Ivy branch of this module.

    Definition Classes
    ModuleIDExtra
  9. val branchName: Option[String]
    Definition Classes
    ModuleID → ModuleIDExtra
  10. 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.

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

    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
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  13. val configurations: Option[String]
    Definition Classes
    ModuleID → ModuleIDExtra
  14. 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. Unlike withCrossVersion(...), cross(...) will preserve the prefix and suffix values from the existing crossVersion value.

    ModuleID("com.example", "foo", "1.0")
        .cross(CrossVersion.binaryWith("sjs1_", ""))
        .cross(CrossVersion.for3Use2_13)

    This allows .cross(...) to play well with %%% operator provided by sbt-platform-deps.

    Definition Classes
    ModuleIDExtra
  15. val crossVersion: CrossVersion
    Definition Classes
    ModuleID → ModuleIDExtra
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(o: Any): Boolean
    Definition Classes
    ModuleID → AnyRef → Any
  18. def exclude(org: String, name: String): ModuleID

    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
  19. def excludeAll(rules: syntax.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.

    Definition Classes
    ModuleIDExtra
  20. val exclusions: Vector[InclExclRule]
    Definition Classes
    ModuleID → ModuleIDExtra
  21. val explicitArtifacts: Vector[Artifact]
    Definition Classes
    ModuleID → ModuleIDExtra
  22. 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.

    Definition Classes
    ModuleIDExtra
  23. val extraAttributes: Map[String, String]
    Definition Classes
    ModuleID → ModuleIDExtra
  24. 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).

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

    Definition Classes
    ModuleIDExtra
  25. def extraString: String

    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
  26. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. 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.

    Definition Classes
    ModuleIDExtra
  28. def from(url: String, allowInsecureProtocol: Boolean): 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.

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

    Definition Classes
    ModuleIDExtra
  30. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def hashCode(): Int
    Definition Classes
    ModuleID → AnyRef → Any
  32. val inclusions: Vector[InclExclRule]
    Definition Classes
    ModuleID → ModuleIDExtra
  33. def intransitive(): ModuleID

    Do not follow dependencies of this module.

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

    Definition Classes
    ModuleIDExtra
  34. val isChanging: Boolean
    Definition Classes
    ModuleID → ModuleIDExtra
  35. val isForce: Boolean
    Definition Classes
    ModuleID → ModuleIDExtra
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. val isTransitive: Boolean
    Definition Classes
    ModuleID → ModuleIDExtra
  38. 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.

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

    Definition Classes
    ModuleIDExtra
  40. val name: String
    Definition Classes
    ModuleID → ModuleIDExtra
  41. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. def notTransitive(): ModuleID

    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
    Definition Classes
    AnyRef
    Annotations
    @native()
  44. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. val organization: String
    Definition Classes
    ModuleID → ModuleIDExtra
  46. def pomOnly(): ModuleID
    Definition Classes
    ModuleIDExtra
  47. val revision: String
    Definition Classes
    ModuleID → ModuleIDExtra
  48. 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.

    Definition Classes
    ModuleIDExtra
  49. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  50. def toString(): String
    Definition Classes
    ModuleID → AnyRef → Any
  51. def toStringImpl: String
    Attributes
    protected
    Definition Classes
    ModuleIDExtra
  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  55. def withBranchName(branchName: Option[String]): ModuleID
    Definition Classes
    ModuleID → ModuleIDExtra
  56. def withConfigurations(configurations: Option[String]): ModuleID
  57. def withCrossVersion(crossVersion: CrossVersion): ModuleID
    Definition Classes
    ModuleID → ModuleIDExtra
  58. def withExclusions(exclusions: Vector[InclExclRule]): ModuleID
    Definition Classes
    ModuleID → ModuleIDExtra
  59. def withExplicitArtifacts(explicitArtifacts: Vector[Artifact]): ModuleID
    Definition Classes
    ModuleID → ModuleIDExtra
  60. def withExtraAttributes(extraAttributes: Map[String, String]): ModuleID
    Definition Classes
    ModuleID → ModuleIDExtra
  61. def withInclusions(inclusions: Vector[InclExclRule]): ModuleID
  62. def withIsChanging(isChanging: Boolean): ModuleID
    Definition Classes
    ModuleID → ModuleIDExtra
  63. def withIsForce(isForce: Boolean): ModuleID
    Definition Classes
    ModuleID → ModuleIDExtra
  64. def withIsTransitive(isTransitive: Boolean): ModuleID
    Definition Classes
    ModuleID → ModuleIDExtra
  65. 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.

    Definition Classes
    ModuleIDExtra
  66. def withName(name: String): ModuleID
  67. def withOrganization(organization: String): ModuleID
  68. def withRevision(revision: String): ModuleID
  69. 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.

    Definition Classes
    ModuleIDExtra

Deprecated Value Members

  1. def cross(v: Boolean): ModuleID
    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