sbt/main
Eugene Yokota ca12418eb8 Fixes #2686 by resetting scalaVersion for updateSbtClassifiers
Ref #2634

updateSbtClassifiers uses an artificially created dependency graph set
in classifiersModule. The problem is that ivyScala instance is reused
from the outer scope that has the user project's scalaVersion as
demonstrated as follows:

    scala> val is = (ivyScala in updateSbtClassifiers).eval
    is: Option[sbt.IvyScala] =
Some(IvyScala(2.9.3,2.9.3,List(),true,false,true,org.scala-lang))

This change fixes #2686 by redefining ivyScala with scalaVersion and
scalaBinaryVersion scoped to updateSbtClassifiers task. The existing
scripted test was modified to reproduce the bug.
2016-08-05 01:21:06 -04:00
..
actions/src Fix #2677: Tags.ForkedTestGroup doesn't work 2016-07-22 10:17:24 -06:00
command/src/main/scala/sbt Fix additional warnings 2015-08-07 00:23:14 +02:00
settings/src Drop sealed from the typeclasses in Append 2015-12-18 14:04:52 +00:00
src Fixes #2686 by resetting scalaVersion for updateSbtClassifiers 2016-08-05 01:21:06 -04:00
NOTICE fix component name in main notice 2010-09-21 22:00:11 -04:00