From 0126baa2af89c4e222ba01c6543fd3493a30b7b0 Mon Sep 17 00:00:00 2001 From: Philipp Haller Date: Thu, 15 May 2014 13:48:52 +0200 Subject: [PATCH] Make Scala version used for build configurable via system property - Enable configuring the Scala version used for the build using the 'scala.version' system property. - The default Scala version is 2.11.0 if the system property is not set. --- project/Build.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Build.scala b/project/Build.scala index 98ccf43fdd..c30b5bfdd7 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -7,7 +7,7 @@ import java.net.URL object BuildSettings { val buildVersion = "0.9.0-SNAPSHOT" - val buildScalaVersion = "2.11.0" + val buildScalaVersion = System.getProperty("scala.version", "2.11.0") val buildSettings = Defaults.defaultSettings ++ Seq( version := buildVersion,