sbt

CrossVersion

object CrossVersion

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CrossVersion
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final class Binary extends CrossVersion

    Cross-versions a module using the result of applying remapVersion to the binary version.

  2. final class Full extends CrossVersion

    Cross-versions a module with the result of applying remapVersion to the full version.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object Disabled extends CrossVersion

    Disables cross versioning for a module.

  7. val PartialVersion: Regex

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

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

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

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

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

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

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

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

  13. 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.CrossVersion datatypes.

  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def binary: CrossVersion

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

  16. def binaryMapped(remapVersion: (String) ⇒ String): CrossVersion

    Cross-versions a module with the result of applying remapVersion to the binary version (typically the binary Scala version).

    Cross-versions a module with the result of applying remapVersion to the binary version (typically the binary Scala version). See also sbt.CrossVersion.Binary.

  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.CrossVersion.TransitionSbtVersion are returned as is.

  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.CrossVersion.TransitionScalaVersion are returned as is.

  19. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  22. implicit def fasttypetag[A]: FastTypeTag[A]

  23. def finalize(): Unit

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

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

  25. def fullMapped(remapVersion: (String) ⇒ String): CrossVersion

    Cross-versions a module with the result of applying remapVersion to the full version (typically the full Scala version).

    Cross-versions a module with the result of applying remapVersion to the full version (typically the full Scala version). See also sbt.CrossVersion.Full.

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

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

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

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

  30. def isScalaApiCompatible(v: String): Boolean

  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

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

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

  35. def patch: CrossVersion

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

  36. implicit val pickler: Pickler[CrossVersion]

  37. def sbtApiVersion(v: String): Option[(Int, Int)]

    Returns sbt binary interface x.

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

  38. def scalaApiVersion(v: String): Option[(Int, Int)]

    Returns Scala binary interface x.

    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.

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

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

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

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

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

    Definition Classes
    AnyRef
  42. def toString(): String

    Definition Classes
    AnyRef → Any
  43. implicit val unpickler: Unpickler[CrossVersion]

  44. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def append(s: String): Option[(String) ⇒ String]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.1) Will be made private.

  2. def applyCross(s: String, fopt: Option[(String) ⇒ String]): String

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.1) Will be made private.

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

    Annotations
    @deprecated
    Deprecated

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

  4. def crossName(name: String, cross: String): String

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.1) Will be made private.

  5. def isStable(v: String): Boolean

    Annotations
    @deprecated
    Deprecated

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

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

    Annotations
    @deprecated
    Deprecated

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

  7. def substituteCrossA(as: Seq[Artifact], cross: Option[(String) ⇒ String]): Seq[Artifact]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.1) Will be made private.

Inherited from AnyRef

Inherited from Any

Ungrouped