Packages

object CrossVersion extends CrossVersionFunctions with Serializable

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

Type Members

  1. type Binary = librarymanagement.Binary
    Definition Classes
    CrossVersionFunctions
  2. type Constant = librarymanagement.Constant
    Definition Classes
    CrossVersionFunctions
  3. type Full = librarymanagement.Full
    Definition Classes
    CrossVersionFunctions
  4. type Patch = librarymanagement.Patch
    Definition Classes
    CrossVersionFunctions

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. final val Binary: librarymanagement.Binary.type
    Definition Classes
    CrossVersionFunctions
  5. final val Constant: librarymanagement.Constant.type
    Definition Classes
    CrossVersionFunctions
  6. final val Full: librarymanagement.Full.type
    Definition Classes
    CrossVersionFunctions
  7. val PartialVersion: Regex

    Regular expression that extracts the major and minor components of a version into matched groups 1 and 2.

    Regular expression that extracts the major and minor components of a version into matched groups 1 and 2.

    Definition Classes
    CrossVersionFunctions
  8. final val Patch: librarymanagement.Patch.type
    Definition Classes
    CrossVersionFunctions
  9. val TransitionSbtVersion: String

    The first major.minor sbt version that the sbt binary version should be used for cross-versioning instead of the full version.

    The first major.minor sbt version that the sbt binary version should be used for cross-versioning instead of the full version.

    Definition Classes
    CrossVersionFunctions
  10. val TransitionScalaVersion: String

    The first major.minor Scala version that the Scala binary version should be used for cross-versioning instead of the full version.

    The first major.minor Scala version that the Scala binary version should be used for cross-versioning instead of the full version.

    Definition Classes
    CrossVersionFunctions
  11. def apply(scalaFullVersion: String, scalaBinaryVersion: String): (ModuleID) ⇒ ModuleID

    Constructs a function that will cross-version a ModuleID for the given full and binary Scala versions scalaFullVersion and scalaBinaryVersion according to the ModuleID's cross-versioning setting.

    Constructs a function that will cross-version a ModuleID for the given full and binary Scala versions scalaFullVersion and scalaBinaryVersion according to the ModuleID's cross-versioning setting.

    Definition Classes
    CrossVersionFunctions
  12. def apply(module: ModuleID, is: Option[ScalaModuleInfo]): Option[(String) ⇒ String]

    Constructs the cross-version function defined by module and is, if one is configured.

    Constructs the cross-version function defined by module and is, if one is configured.

    Definition Classes
    CrossVersionFunctions
  13. def apply(module: ModuleID, is: ScalaModuleInfo): Option[(String) ⇒ String]

    Constructs the cross-version function defined by module and is, if one is configured.

    Constructs the cross-version function defined by module and is, if one is configured.

    Definition Classes
    CrossVersionFunctions
  14. def apply(cross: CrossVersion, fullVersion: String, binaryVersion: String): Option[(String) ⇒ String]

    Construct a cross-versioning function given cross-versioning configuration cross, full version fullVersion and binary version binaryVersion.

    Construct a cross-versioning function given cross-versioning configuration cross, full version fullVersion and binary version binaryVersion. The behavior of the constructed function is as documented for the sbt.librarymanagement.CrossVersion datatypes.

    Definition Classes
    CrossVersionFunctions
  15. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  16. def binary: CrossVersion

    Cross-versions a module with the binary version (typically the binary Scala version).

    Cross-versions a module with the binary version (typically the binary Scala version).

    Definition Classes
    CrossVersionFunctions
  17. def binarySbtVersion(full: String): String

    Computes the binary sbt version from the full version.

    Computes the binary sbt version from the full version. Full sbt versions earlier than sbt.librarymanagement.CrossVersion.TransitionSbtVersion are returned as is.

    Definition Classes
    CrossVersionFunctions
  18. def binaryScalaVersion(full: String): String

    Computes the binary Scala version from the full version.

    Computes the binary Scala version from the full version. Full Scala versions earlier than sbt.librarymanagement.CrossVersion.TransitionScalaVersion are returned as is.

    Definition Classes
    CrossVersionFunctions
  19. def binaryWith(prefix: String, suffix: String): CrossVersion

    Cross-versions a module with the result of prepending prefix and appending suffix to the binary version (typically the binary Scala version).

    Cross-versions a module with the result of prepending prefix and appending suffix to the binary version (typically the binary Scala version). See also sbt.librarymanagement.Binary.

    Definition Classes
    CrossVersionFunctions
  20. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  21. def constant(value: String): CrossVersion

    Cross-versions a module with a constant string (typically the binary Scala version).

    Cross-versions a module with a constant string (typically the binary Scala version).

    Definition Classes
    CrossVersionFunctions
  22. def disabled: CrossVersion

    Disables cross versioning for a module.

    Disables cross versioning for a module.

    Definition Classes
    CrossVersionFunctions
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  25. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def for2_13Use3: CrossVersion

    Cross-versions a module with the binary version but if the binary version is 2.13 cross-versions it with 3 instead

    Cross-versions a module with the binary version but if the binary version is 2.13 cross-versions it with 3 instead

    Definition Classes
    CrossVersionFunctions
  27. def for2_13Use3With(prefix: String, suffix: String): CrossVersion

    Cross-versions a module with the binary version but if the binary version is 2.13 cross-versions it with 3 instead Always prepend prefix and append suffix

    Cross-versions a module with the binary version but if the binary version is 2.13 cross-versions it with 3 instead Always prepend prefix and append suffix

    Definition Classes
    CrossVersionFunctions
  28. def for3Use2_13: CrossVersion

    Cross-versions a module with the binary version but if the binary version is 3 (or of the form 3.0.0-x), cross-versions it with 2.13 instead

    Cross-versions a module with the binary version but if the binary version is 3 (or of the form 3.0.0-x), cross-versions it with 2.13 instead

    Definition Classes
    CrossVersionFunctions
  29. def for3Use2_13With(prefix: String, suffix: String): CrossVersion

    Cross-versions a module with the binary version but if the binary version is 3 (or of the form 3.0.0-x), cross-versions it with 2.13 instead Always prepend prefix and append suffix

    Cross-versions a module with the binary version but if the binary version is 3 (or of the form 3.0.0-x), cross-versions it with 2.13 instead Always prepend prefix and append suffix

    Definition Classes
    CrossVersionFunctions
  30. def full: CrossVersion

    Cross-versions a module with the full version (typically the full Scala version).

    Cross-versions a module with the full version (typically the full Scala version).

    Definition Classes
    CrossVersionFunctions
  31. def fullWith(prefix: String, suffix: String): CrossVersion

    Cross-versions a module with the result of prepending prefix and appending suffix to the full version.

    Cross-versions a module with the result of prepending prefix and appending suffix to the full version. (typically the full Scala version). See also sbt.librarymanagement.Full

    Definition Classes
    CrossVersionFunctions
  32. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. def isSbtApiCompatible(v: String): Boolean
    Definition Classes
    CrossVersionFunctions
  36. def isScalaApiCompatible(v: String): Boolean
    Definition Classes
    CrossVersionFunctions
  37. def isScalaBinaryCompatibleWith(newVersion: String, origVersion: String): Boolean

    Returns true if a project targeting version origVersion can run with version newVersion.

    Returns true if a project targeting version origVersion can run with version newVersion.

    Definition Classes
    CrossVersionFunctions
  38. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. def partialVersion(s: String): Option[(Long, Long)]

    Extracts the major and minor components of a version string s or returns None if the version is improperly formatted.

    Extracts the major and minor components of a version string s or returns None if the version is improperly formatted.

    Definition Classes
    CrossVersionFunctions
  42. def patch: CrossVersion

    Cross-versions a module with the full Scala version excluding any -bin suffix.

    Cross-versions a module with the full Scala version excluding any -bin suffix.

    Definition Classes
    CrossVersionFunctions
  43. def sbtApiVersion(v: String): Option[(Long, Long)]

    Returns sbt binary interface x.y API compatible with the given version string v.

    Returns sbt binary interface x.y API compatible with the given version string v. RCs for x.y.0 are considered API compatible. Compatible versions include 0.12.0-1 and 0.12.0-RC1 for Some(0, 12).

    Definition Classes
    CrossVersionFunctions
  44. def scalaApiVersion(v: String): Option[(Long, Long)]

    Returns Scala binary interface x.y API compatible with the given version string v.

    Returns Scala binary interface x.y API compatible with the given version string v. Compatible versions include 2.10.0-1 and 2.10.1-M1 for Some(2, 10), but not 2.10.0-RC1.

    Definition Classes
    CrossVersionFunctions
  45. def substituteCross(a: Artifact, cross: Option[(String) ⇒ String]): Artifact

    Cross-versions a according to cross-version function cross.

    Cross-versions a according to cross-version function cross.

    Definition Classes
    CrossVersionFunctions
  46. def substituteCross(artifacts: Vector[Artifact], cross: Option[(String) ⇒ String]): Vector[Artifact]

    Cross-version each Artifact in artifacts according to cross-version function cross.

    Cross-version each Artifact in artifacts according to cross-version function cross.

    Definition Classes
    CrossVersionFunctions
  47. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  48. def toString(): String
    Definition Classes
    AnyRef → Any
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. final val Disabled: librarymanagement.Disabled.type

    Compatibility with 0.13

    Compatibility with 0.13

    Definition Classes
    CrossVersionFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0) use CrossVersion.disabled instead. prior to sbt 1.3.0, Disabled did not work without apply(). sbt/sbt#4977

Inherited from Serializable

Inherited from Serializable

Inherited from CrossVersionFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped