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

Type Members

  1. type Binary = librarymanagement.Binary

    Permalink
  2. type Full = librarymanagement.Full

    Permalink
  3. type Patch = librarymanagement.Patch

    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. final val Binary: librarymanagement.Binary.type

    Permalink
  5. final val Disabled: librarymanagement.Disabled.type

    Permalink

    Compatibility with 0.13

  6. final val Full: librarymanagement.Full.type

    Permalink
  7. val PartialVersion: Regex

    Permalink

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

  8. final val Patch: librarymanagement.Patch.type

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

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

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

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

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

    Permalink

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

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

  15. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  16. def binary: CrossVersion

    Permalink

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

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

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

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

  20. def clone(): AnyRef

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

    Permalink

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

  22. def disabled: CrossVersion

    Permalink

    Disables cross versioning for a module.

  23. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink

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

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

  28. final def getClass(): Class[_]

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

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

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

    Permalink
  32. def isScalaApiCompatible(v: String): Boolean

    Permalink
  33. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink

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

  37. def patch: CrossVersion

    Permalink

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

  38. def sbtApiVersion(v: String): Option[(Long, Long)]

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

  39. def scalaApiVersion(v: String): Option[(Long, Long)]

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

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

    Permalink

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

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

    Permalink

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

  42. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped