Object/Class

sbt.librarymanagement

CrossVersion

Related Docs: class CrossVersion | package librarymanagement

Permalink

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

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. val PartialVersion: Regex

    Permalink

    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
  5. val TransitionSbtVersion: String

    Permalink

    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
  6. val TransitionScalaVersion: String

    Permalink

    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
  7. def apply(scalaFullVersion: String, scalaBinaryVersion: String): (ModuleID) ⇒ ModuleID

    Permalink

    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
  8. def apply(module: ModuleID, is: Option[IvyScala]): Option[(String) ⇒ String]

    Permalink

    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
  9. def apply(module: ModuleID, is: IvyScala): Option[(String) ⇒ String]

    Permalink

    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
  10. def apply(cross: CrossVersion, fullVersion: String, binaryVersion: String): Option[(String) ⇒ String]

    Permalink

    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
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def binary: CrossVersion

    Permalink

    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
  13. def binarySbtVersion(full: String): String

    Permalink

    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
  14. def binaryScalaVersion(full: String): String

    Permalink

    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
  15. def binaryWith(prefix: String, suffix: String): CrossVersion

    Permalink

    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
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def full: CrossVersion

    Permalink

    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
  21. def fullWith(prefix: String, suffix: String): CrossVersion

    Permalink

    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
  22. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def isSbtApiCompatible(v: String): Boolean

    Permalink
    Definition Classes
    CrossVersionFunctions
  26. def isScalaApiCompatible(v: String): Boolean

    Permalink
    Definition Classes
    CrossVersionFunctions
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  30. def partialVersion(s: String): Option[(Int, Int)]

    Permalink

    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
  31. def patch: CrossVersion

    Permalink

    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
  32. def sbtApiVersion(v: String): Option[(Int, Int)]

    Permalink

    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. Compatibile versions include 0.12.0-1 and 0.12.0-RC1 for Some(0, 12).

    Definition Classes
    CrossVersionFunctions
  33. def scalaApiVersion(v: String): Option[(Int, Int)]

    Permalink

    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. Compatibile versions include 2.10.0-1 and 2.10.1-M1 for Some(2, 10), but not 2.10.0-RC1.

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

    Permalink

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

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

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

    Permalink

    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
  36. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def binaryVersion(full: String, cutoff: String): String

    Permalink
    Definition Classes
    CrossVersionFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.0) Use CrossVersion.scalaApiVersion or CrossVersion.sbtApiVersion

  2. def isStable(v: String): Boolean

    Permalink
    Definition Classes
    CrossVersionFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.0) Use CrossVersion.isScalaApiCompatible or CrossVersion.isSbtApiCompatible

  3. def selectVersion(full: String, binary: String): String

    Permalink
    Definition Classes
    CrossVersionFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.0) Use CrossVersion.scalaApiVersion or CrossVersion.sbtApiVersion

Inherited from Serializable

Inherited from Serializable

Inherited from CrossVersionFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped