Fixes compiler-project/separate-analysis-per-scala

This commit is contained in:
Eugene Yokota 2017-07-16 14:12:45 -04:00
parent a7bb39d3cb
commit fa67110143
2 changed files with 5 additions and 3 deletions

View File

@ -35,8 +35,10 @@ This is the RC-1 release of sbt 1.0.
again.
- sbt 1.0 renames `Global` as scope component to `Zero` to disambiguate from `GlobalScope`. [@eed3si9n][@eed3si9n]
- sbt 1.0 uses `ConfigRef` in places where `String` was used to reference configuration, such as `update.value.configuration(...)`. Pass in `Configuration`, which implicitly converts to `ConfigRef`.
- sbt 1.0 changes `sourceArtifactTypes` and `docArtifactTypes` from `Set[String]` to `Seq[String]` settings.
- sbt 1.0 renames `ivyScala: IvyScala` to `scalaModuleInfo: ScalaModuleInfo`.
- Changes `sourceArtifactTypes` and `docArtifactTypes` from `Set[String]` to `Seq[String]` settings.
- Renames `ivyScala: IvyScala` to `scalaModuleInfo: ScalaModuleInfo`.
- Java classes under the `xsbti.compile` package hides the constructor. Use the factory method `xsbti.compile.Foo.of(...)`.
The Scala Center is working with Lightbend to provide [an automatic migration tool][sbt-migration-rewrites].

View File

@ -5,7 +5,7 @@ scalaVersion := "2.10.6"
crossScalaVersions := List("2.10.6", "2.11.8")
incOptions := incOptions.value.withClassfileManagerType(
Option(new xsbti.compile.TransactionalManagerType(
Option(xsbti.compile.TransactionalManagerType.of(
crossTarget.value / "classes.bak",
(streams in (Compile, compile)).value.log
): xsbti.compile.ClassFileManagerType).asJava