Changes needed to build/test/release for 2.12.0 (#21789)
This commit is contained in:
parent
8f0d1a3465
commit
e9253c7c7d
2 changed files with 13 additions and 12 deletions
|
|
@ -39,11 +39,14 @@ class AddressUidExtension(val system: ExtendedActorSystem) extends Extension {
|
|||
else tlr.nextInt().toLong
|
||||
}
|
||||
|
||||
// used by old remoting and part of public api
|
||||
@deprecated("Use longAddressUid instead", "2.4.x")
|
||||
lazy val addressUid: Int = {
|
||||
// private because GenJavaDoc fails on deprecated annotated lazy val
|
||||
private lazy val _addressUid: Int = {
|
||||
if (arteryEnabled) {
|
||||
throw new IllegalStateException("Int UID must never be used with Artery")
|
||||
} else longAddressUid.toInt
|
||||
}
|
||||
|
||||
// used by old remoting and part of public api
|
||||
@deprecated("Use longAddressUid instead", "2.4.x")
|
||||
def addressUid: Int = _addressUid
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,19 +17,17 @@ object Dependencies {
|
|||
val sslConfigVersion = "0.2.1"
|
||||
|
||||
val Versions = Seq(
|
||||
crossScalaVersions := Seq("2.11.8"), // "2.12.0-RC2"
|
||||
crossScalaVersions := Seq("2.11.8"), // "2.12.0"
|
||||
scalaVersion := crossScalaVersions.value.head,
|
||||
scalaStmVersion := sys.props.get("akka.build.scalaStmVersion").getOrElse("0.7"),
|
||||
scalaCheckVersion := sys.props.get("akka.build.scalaCheckVersion").getOrElse("1.13.2"),
|
||||
scalaTestVersion := {
|
||||
scalaVersion.value match {
|
||||
case "2.12.0-M5" => "3.0.0"
|
||||
case _ => "3.0.0"
|
||||
}
|
||||
},
|
||||
scalaCheckVersion := sys.props.get("akka.build.scalaCheckVersion").getOrElse(
|
||||
if (scalaVersion.value.startsWith("2.12")) "1.13.4" // does not work for 2.11
|
||||
else "1.13.2"
|
||||
),
|
||||
scalaTestVersion := "3.0.0",
|
||||
java8CompatVersion := {
|
||||
scalaVersion.value match {
|
||||
case x if x.startsWith("2.12.0") => "0.8.0-RC8"
|
||||
case x if x.startsWith("2.12") => "0.8.0"
|
||||
case _ => "0.7.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue