mirror of https://github.com/sbt/sbt.git
Upgrade Scala version in scripted tests
Both continuations and macro-config set scalaVersion explicitly but since sbt relies now on Scala 2.10 it's not needed anymore. In particular, we can upgrade continuations to 2.10 which makes it easier to work with Java 8.
This commit is contained in:
parent
d3cb46951b
commit
8c9c61815a
|
|
@ -22,5 +22,3 @@ mappings in (Compile, packageSrc) <++=
|
|||
// This can be omitted if the classes in src/macro/ aren't used at runtime
|
||||
mappings in (Compile, packageBin) <++=
|
||||
mappings in (config("macro"), packageBin)
|
||||
|
||||
scalaVersion := "2.10.0-M7"
|
||||
|
|
@ -1,7 +1,5 @@
|
|||
autoCompilerPlugins := true
|
||||
|
||||
addCompilerPlugin("org.scala-lang.plugins" % "continuations" % "2.9.2")
|
||||
libraryDependencies += compilerPlugin("org.scala-lang.plugins" % "continuations" % scalaVersion.value)
|
||||
|
||||
scalaVersion := "2.9.2"
|
||||
|
||||
scalacOptions += "-P:continuations:enable"
|
||||
scalacOptions += "-P:continuations:enable"
|
||||
|
|
|
|||
Loading…
Reference in New Issue