object CrossVersion extends CrossVersionFunctions with Serializable
- Alphabetic
- By Inheritance
- CrossVersion
- Serializable
- Serializable
- CrossVersionFunctions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
PartialVersion: Regex
Regular expression that extracts the major and minor components of a version into matched groups 1 and 2.
Regular expression that extracts the major and minor components of a version into matched groups 1 and 2.
- Definition Classes
- CrossVersionFunctions
-
val
TransitionSbtVersion: String
The first
major.minorsbt version that the sbt binary version should be used for cross-versioning instead of the full version.The first
major.minorsbt version that the sbt binary version should be used for cross-versioning instead of the full version.- Definition Classes
- CrossVersionFunctions
-
val
TransitionScalaVersion: String
The first
major.minorScala version that the Scala binary version should be used for cross-versioning instead of the full version.The first
major.minorScala version that the Scala binary version should be used for cross-versioning instead of the full version.- Definition Classes
- CrossVersionFunctions
-
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
scalaFullVersionandscalaBinaryVersionaccording to the ModuleID's cross-versioning setting.Constructs a function that will cross-version a ModuleID for the given full and binary Scala versions
scalaFullVersionandscalaBinaryVersionaccording to the ModuleID's cross-versioning setting.- Definition Classes
- CrossVersionFunctions
-
def
apply(module: ModuleID, is: Option[IvyScala]): Option[(String) ⇒ String]
Constructs the cross-version function defined by
moduleandis, if one is configured.Constructs the cross-version function defined by
moduleandis, if one is configured.- Definition Classes
- CrossVersionFunctions
-
def
apply(module: ModuleID, is: IvyScala): Option[(String) ⇒ String]
Constructs the cross-version function defined by
moduleandis, if one is configured.Constructs the cross-version function defined by
moduleandis, if one is configured.- Definition Classes
- CrossVersionFunctions
-
def
apply(cross: CrossVersion, fullVersion: String, binaryVersion: String): Option[(String) ⇒ String]
Construct a cross-versioning function given cross-versioning configuration
cross, full versionfullVersionand binary versionbinaryVersion.Construct a cross-versioning function given cross-versioning configuration
cross, full versionfullVersionand binary versionbinaryVersion. The behavior of the constructed function is as documented for the sbt.librarymanagement.CrossVersion datatypes.- Definition Classes
- CrossVersionFunctions
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
binary: CrossVersion
Cross-versions a module with the binary version (typically the binary Scala version).
Cross-versions a module with the binary version (typically the binary Scala version).
- Definition Classes
- CrossVersionFunctions
-
def
binarySbtVersion(full: String): String
Computes the binary sbt version from the
fullversion.Computes the binary sbt version from the
fullversion. Full sbt versions earlier than sbt.librarymanagement.CrossVersion.TransitionSbtVersion are returned as is.- Definition Classes
- CrossVersionFunctions
-
def
binaryScalaVersion(full: String): String
Computes the binary Scala version from the
fullversion.Computes the binary Scala version from the
fullversion. Full Scala versions earlier than sbt.librarymanagement.CrossVersion.TransitionScalaVersion are returned as is.- Definition Classes
- CrossVersionFunctions
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
full: CrossVersion
Cross-versions a module with the full version (typically the full Scala version).
Cross-versions a module with the full version (typically the full Scala version).
- Definition Classes
- CrossVersionFunctions
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isSbtApiCompatible(v: String): Boolean
- Definition Classes
- CrossVersionFunctions
-
def
isScalaApiCompatible(v: String): Boolean
- Definition Classes
- CrossVersionFunctions
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
partialVersion(s: String): Option[(Int, Int)]
Extracts the major and minor components of a version string
sor returnsNoneif the version is improperly formatted.Extracts the major and minor components of a version string
sor returnsNoneif the version is improperly formatted.- Definition Classes
- CrossVersionFunctions
-
def
patch: CrossVersion
Cross-versions a module with the full Scala version excluding any
-binsuffix.Cross-versions a module with the full Scala version excluding any
-binsuffix.- Definition Classes
- CrossVersionFunctions
-
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).
- Definition Classes
- CrossVersionFunctions
-
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.
- Definition Classes
- CrossVersionFunctions
-
def
substituteCross(a: Artifact, cross: Option[(String) ⇒ String]): Artifact
Cross-versions
aaccording to cross-version functioncross.Cross-versions
aaccording to cross-version functioncross.- Definition Classes
- CrossVersionFunctions
-
def
substituteCross(artifacts: Vector[Artifact], cross: Option[(String) ⇒ String]): Vector[Artifact]
Cross-version each
Artifactinartifactsaccording to cross-version functioncross.Cross-version each
Artifactinartifactsaccording to cross-version functioncross.- Definition Classes
- CrossVersionFunctions
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
binaryVersion(full: String, cutoff: String): String
- Definition Classes
- CrossVersionFunctions
- Annotations
- @deprecated
- Deprecated
(Since version 0.13.0) Use CrossVersion.scalaApiVersion or CrossVersion.sbtApiVersion
-
def
isStable(v: String): Boolean
- Definition Classes
- CrossVersionFunctions
- Annotations
- @deprecated
- Deprecated
(Since version 0.13.0) Use CrossVersion.isScalaApiCompatible or CrossVersion.isSbtApiCompatible
-
def
selectVersion(full: String, binary: String): String
- Definition Classes
- CrossVersionFunctions
- Annotations
- @deprecated
- Deprecated
(Since version 0.13.0) Use CrossVersion.scalaApiVersion or CrossVersion.sbtApiVersion