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".
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".
Disables cross versioning for a module.
Regular expression that extracts the major and minor components of a version into matched groups 1 and 2.
The first major.minor
sbt version that the sbt binary version should be used for cross-versioning instead of the full version.
The first major.minor
Scala version that the Scala binary version should be used for cross-versioning instead of the full version.
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.
Constructs the cross-version function defined by module
and is
, if one is configured.
Constructs the cross-version function defined by module
and is
, if one is configured.
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.
Cross-versions a module with 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).
Cross-versions a module with the result of applying remapVersion
to the binary version
(typically the binary Scala version). See also sbt.CrossVersion.Binary.
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.
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.
Cross-versions a module with 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).
Cross-versions a module with the result of applying remapVersion
to the full version
(typically the full Scala version). See also sbt.CrossVersion.Full.
Extracts the major and minor components of a version string s
or returns None
if the version is improperly formatted.
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).
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.
Cross-versions a
according to cross-version function cross
.
Cross-version each Artifact
in artifacts
according to cross-version function cross
.
(Since version 0.13.1) Will be made private.
(Since version 0.13.1) Will be made private.
(Since version 0.13.0) Use CrossVersion.scalaApiVersion or CrossVersion.sbtApiVersion
(Since version 0.13.1) Will be made private.
(Since version 0.13.0) Use CrossVersion.isScalaApiCompatible or CrossVersion.isSbtApiCompatible
(Since version 0.13.0) Use CrossVersion.scalaApiVersion or CrossVersion.sbtApiVersion
(Since version 0.13.1) Will be made private.