Easiest is to add this to Commons.settings
(scalaVersion := "2.11.1"
). You can still override the versions in project specific settings later.
It will look like this:
val settings: Seq[Def.Setting[_]] = Seq(
version := appVersion,
resolvers += Opts.resolver.mavenLocalFile,
scalaVersion := "2.11.1"
)
And to override:
lazy val appWeb = (project in file("app-web")).
settings(Commons.settings: _*).
settings(playScalaSettings: _*).
settings(scalaVersion := "2.10.3").
dependsOn(appServices)
I'm not sure how you want to set the Java version though. But there's a post about it