diff --git a/sbt/src/sbt-test/compiler-project/separate-analysis-per-scala/build.sbt b/sbt/src/sbt-test/compiler-project/separate-analysis-per-scala/build.sbt index d1a4804b7..908667853 100644 --- a/sbt/src/sbt-test/compiler-project/separate-analysis-per-scala/build.sbt +++ b/sbt/src/sbt-test/compiler-project/separate-analysis-per-scala/build.sbt @@ -1,12 +1,15 @@ -name := "foo" +lazy val scala212 = "2.12.8" +lazy val scala213 = "2.13.0-M5" +ThisBuild / scalaVersion := scala212 -scalaVersion := "2.10.6" - -crossScalaVersions := List("2.10.6", "2.11.8") - -incOptions := incOptions.value.withClassfileManagerType( - Option(xsbti.compile.TransactionalManagerType.of( - crossTarget.value / "classes.bak", - (streams in (Compile, compile)).value.log - ): xsbti.compile.ClassFileManagerType).asJava -) +lazy val root = (project in file(".")) + .settings( + name := "foo", + crossScalaVersions := List(scala212, scala213), + incOptions := incOptions.value.withClassfileManagerType( + Option(xsbti.compile.TransactionalManagerType.of( + crossTarget.value / "classes.bak", + (streams in (Compile, compile)).value.log + ): xsbti.compile.ClassFileManagerType).asJava + ) + ) diff --git a/sbt/src/sbt-test/compiler-project/separate-analysis-per-scala/test b/sbt/src/sbt-test/compiler-project/separate-analysis-per-scala/test index e76fa4b5c..10391d966 100644 --- a/sbt/src/sbt-test/compiler-project/separate-analysis-per-scala/test +++ b/sbt/src/sbt-test/compiler-project/separate-analysis-per-scala/test @@ -1,3 +1,3 @@ > + compile -$ exists target/scala-2.10 -$ exists target/scala-2.11 +$ exists target/scala-2.12 +$ exists target/scala-2.13.0-M5