mirror of https://github.com/sbt/sbt.git
don't drop session settings during cross build
This commit is contained in:
parent
205a67e4a3
commit
37c5062d2d
|
|
@ -24,7 +24,7 @@ object Cross
|
|||
import x._
|
||||
println("Setting version to " + version)
|
||||
val add = (scalaVersion in GlobalScope :== version) :: (scalaHome in GlobalScope :== None) :: Nil
|
||||
val cleared = session.original.filterNot( crossExclude )
|
||||
val cleared = session.mergeSettings.filterNot( crossExclude )
|
||||
val newStructure = Load.reapply(add ++ cleared, structure)
|
||||
Project.setProject(session, newStructure, command :: state)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue