Packages

c

sbt.librarymanagement

CrossVersionFunctions

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

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
  5. final val Constant: librarymanagement.Constant.type
  6. final val Disabled: librarymanagement.Disabled.type

    Compatibility with 0.13

  7. final val Full: librarymanagement.Full.type
  8. val PartialVersion: Regex

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

  9. final val Patch: librarymanagement.Patch.type
  10. 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.

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

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

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

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

  14. def apply(module: ModuleID, is: ScalaModuleInfo): Option[(String) ⇒ String]

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

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

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

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

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

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

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

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

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

  23. def disabled: CrossVersion

    Disables cross versioning for a module.

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

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

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

  29. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. def isSbtApiCompatible(v: String): Boolean
  33. def isScalaApiCompatible(v: String): Boolean
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. 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.

  38. def patch: CrossVersion

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

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

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

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

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

  42. def substituteCross(artifacts: Vector[Artifact], cross: Option[(String) ⇒ String]): Vector[Artifact]

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

  43. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  44. def toString(): String
    Definition Classes
    AnyRef → Any
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped