Skip to content

Commit 6a85ec6

Browse files
committed
#3343 - Moving to Scala 2.10.2
1 parent 6c96485 commit 6a85ec6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

akka-sbt-plugin/sample/project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import akka.sbt.AkkaKernelPlugin.{ Dist, outputDirectory, distJvmOptions}
77
object HelloKernelBuild extends Build {
88
val Organization = "akka.sample"
99
val Version = "2.2-SNAPSHOT"
10-
val ScalaVersion = "2.10.1"
10+
val ScalaVersion = "2.10.2"
1111

1212
lazy val HelloKernel = Project(
1313
id = "hello-kernel",

project/AkkaBuild.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,13 @@ object AkkaBuild extends Build {
3636

3737
val enableMiMa = false
3838

39+
val requestedScalaVersion = System.getProperty("akka.scalaVersion", "2.10.2")
40+
3941
lazy val buildSettings = Seq(
4042
organization := "com.typesafe.akka",
4143
version := "2.2-SNAPSHOT",
4244
// Also change ScalaVersion in akka-sbt-plugin/sample/project/Build.scala
43-
scalaVersion := System.getProperty("akka.scalaVersion", "2.10.1"),
45+
scalaVersion := requestedScalaVersion,
4446
scalaBinaryVersion <<= (scalaVersion, scalaBinaryVersion)((v, bv) => System.getProperty("akka.scalaBinaryVersion", if (v contains "-") v else bv))
4547
)
4648

@@ -80,7 +82,7 @@ object AkkaBuild extends Build {
8082
base = file("all-tests"),
8183
dependencies = (akka.aggregate: Seq[ProjectReference]) map (_ % "test->test"),
8284
settings = defaultSettings ++ Seq(
83-
scalaVersion := "2.10.1-RC1", // FIXME no hardcoded value, has to be passed in manually
85+
scalaVersion := requestedScalaVersion,
8486
publishArtifact := false,
8587
definedTests in Test := Nil
8688
) ++ (

0 commit comments

Comments
 (0)