Class

sbt.librarymanagement

CrossVersionFunctions

Related Doc: package librarymanagement

Permalink

abstract class CrossVersionFunctions extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CrossVersionFunctions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CrossVersionFunctions()

    Permalink

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.

  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.

  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.

  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.

  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.

  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.

  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.

  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).

  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.

  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.

  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.

  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).

  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

  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
  26. def isScalaApiCompatible(v: String): Boolean

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

  31. def patch: CrossVersion

    Permalink

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

  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).

  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.

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

    Permalink

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

  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.

  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
    Annotations
    @deprecated
    Deprecated

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

  2. def isStable(v: String): Boolean

    Permalink
    Annotations
    @deprecated
    Deprecated

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

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

    Permalink
    Annotations
    @deprecated
    Deprecated

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

Inherited from AnyRef

Inherited from Any

Ungrouped