I have a multi-project build with
scalaVersion := "2.11.8"
> set scalaVersion in ThisBuild := "2.12.0-RC1"
Your attempt doesn't work because the setting for the module takes priority over the setting for
ThisBuild; it would work if you used
scalaVersion in ThisBuild in the build file instead of setting it separately for each module. I don't know if there is a way to do this with anything except
As a final note, you can use ++ to temporarily switch the Scala version currently being used to build. should be either a version for Scala published to a repository, as in ++ 2.10.0 or the path to a Scala home directory, as in ++ /path/to/scala/home. See Command Line Reference for details.
> ++2.12.0-RC1 > test