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

    Cross-versions a module using the result of applying remapVersion to the binary version. For example, if remapVersion = v => "2.10" and the binary version is "2.9.2" or "2.10", the module is cross-versioned with "2.10".

  2. final class Full extends CrossVersion

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

    Cross-versions a module with the result of applying remapVersion to the full version. For example, if remapVersion = v => "2.10" and the full version is "2.9.2" or "2.10.3", the module is cross-versioned with "2.10".

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. object Disabled extends CrossVersion

    Disables cross versioning for a module.

  5. val PartialVersion: Regex

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

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

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

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

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

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

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

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

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

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def binary: CrossVersion

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

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

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

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

  17. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

  27. def isScalaApiCompatible(v: String): Boolean

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

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

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

    Definition Classes
    AnyRef
  31. 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.

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

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

    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

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

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

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

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

    Definition Classes
    AnyRef
  37. def toString(): String

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. 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