diff --git a/notes/1.0.0.markdown b/notes/1.0.0.markdown index baa2feea1..320c05a63 100644 --- a/notes/1.0.0.markdown +++ b/notes/1.0.0.markdown @@ -37,8 +37,7 @@ This is the RC-1 release of sbt 1.0. - 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`. - 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(...)`. - +- Java classes under the `xsbti.compile` package such as `IncOptions` 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]. diff --git a/sbt/src/sbt-test/compiler-project/error-in-invalidated/build.sbt b/sbt/src/sbt-test/compiler-project/error-in-invalidated/build.sbt index 8dcfc985c..d2c47e0c4 100644 --- a/sbt/src/sbt-test/compiler-project/error-in-invalidated/build.sbt +++ b/sbt/src/sbt-test/compiler-project/error-in-invalidated/build.sbt @@ -1,5 +1,5 @@ lazy val root = (project in file(".")). settings( - incOptions := xsbti.compile.IncOptionsUtil.defaultIncOptions, + incOptions := xsbti.compile.IncOptions.of(), scalaVersion := "2.11.7" )