Where do set scala and java versions in a multi-module sbt project? -
my sbt project based on layout: confused how setup multi project sbt project
how , should set scala , java version?
i'm have problems java versions when deploying need more explicit it.
easiest add commons.settings
(scalaversion := "2.11.1"
). can still override versions in project specific settings later.
it this:
val settings: seq[def.setting[_]] = seq( version := appversion, resolvers += opts.resolver.mavenlocalfile, scalaversion := "2.11.1" )
and 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 want set java version though. there's post it
Comments
Post a Comment