Skip to content

Commit 87d0972

Browse files
authored
Merge pull request sbt#6121 from xuwei-k/dotty-update
Update dotty and scala versions in tests
2 parents 711a590 + 6344de9 commit 87d0972

File tree

9 files changed

+14
-17
lines changed

9 files changed

+14
-17
lines changed

sbt/src/sbt-test/plugins/dotty-compiler-plugin/build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ThisBuild / scalaVersion := "0.27.0-RC1"
1+
ThisBuild / scalaVersion := "3.0.0-M1"
22

33
lazy val plugin = project
44
.in(file("plugin"))

sbt/src/sbt-test/plugins/dotty-compiler-plugin/changes/build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
lazy val dottyVersion = "0.27.0-RC1"
1+
lazy val dottyVersion = "3.0.0-M1"
22

33
lazy val plugin = project
44
.in(file("plugin"))
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.3")
1+
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.6")
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
// TODO use 2.13.4 when it's out
2-
ThisBuild / scalaVersion := "2.13.4-bin-d526da6"
3-
4-
Global / resolvers += "scala-integration".at("https://scala-ci.typesafe.com/artifactory/scala-integration/")
1+
ThisBuild / scalaVersion := "2.13.4"
2+
ThisBuild / scalacOptions += "-Ytasty-reader"
53

64
lazy val scala3code = project
75
.enablePlugins(ScalaJSPlugin)
8-
.settings(scalaVersion := "0.27.0-RC1")
6+
.settings(scalaVersion := "3.0.0-M1")
97

108
lazy val app = project
119
.enablePlugins(ScalaJSPlugin)
1210
.dependsOn(scala3code)
1311
.settings(
1412
libraryDependencies ~= (_.filterNot(_.name.contains("scalajs-compiler"))),
15-
addCompilerPlugin("org.scala-js" % "scalajs-compiler_2.13.3" % scalaJSVersion),
13+
addCompilerPlugin("org.scala-js" % "scalajs-compiler_2.13.4" % scalaJSVersion),
1614
scalaJSUseMainModuleInitializer := true,
1715
)
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.3")
1+
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.6")
22
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.3.0")

sbt/src/sbt-test/plugins/dotty-sandwich/build.sbt

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
ThisBuild / scalaVersion := "0.27.0-RC1"
1+
ThisBuild / scalaVersion := "3.0.0-M1"
2+
ThisBuild / scalacOptions += "-Ytasty-reader"
23

3-
ThisBuild / resolvers += "scala-integration" at "https://scala-ci.typesafe.com/artifactory/scala-integration/"
4-
// TODO use 2.13.4 when it's out
5-
lazy val scala213 = "2.13.4-bin-d526da6"
4+
lazy val scala213 = "2.13.4"
65

76
lazy val root = (project in file("."))
87
.aggregate(fooApp, fooCore, barApp, barCore)
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.3")
1+
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.6")
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ThisBuild / scalaVersion := "0.27.0-RC1"
1+
ThisBuild / scalaVersion := "3.0.0-M1"
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.3")
1+
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.6")

0 commit comments

Comments
 (0)