mirror of https://github.com/sbt/sbt.git
Merge pull request #6121 from xuwei-k/dotty-update
Update dotty and scala versions in tests
This commit is contained in:
commit
87d0972b03
|
|
@ -1,4 +1,4 @@
|
|||
ThisBuild / scalaVersion := "0.27.0-RC1"
|
||||
ThisBuild / scalaVersion := "3.0.0-M1"
|
||||
|
||||
lazy val plugin = project
|
||||
.in(file("plugin"))
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
lazy val dottyVersion = "0.27.0-RC1"
|
||||
lazy val dottyVersion = "3.0.0-M1"
|
||||
|
||||
lazy val plugin = project
|
||||
.in(file("plugin"))
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.3")
|
||||
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.6")
|
||||
|
|
|
|||
|
|
@ -1,17 +1,15 @@
|
|||
// TODO use 2.13.4 when it's out
|
||||
ThisBuild / scalaVersion := "2.13.4-bin-d526da6"
|
||||
|
||||
Global / resolvers += "scala-integration".at("https://scala-ci.typesafe.com/artifactory/scala-integration/")
|
||||
ThisBuild / scalaVersion := "2.13.4"
|
||||
ThisBuild / scalacOptions += "-Ytasty-reader"
|
||||
|
||||
lazy val scala3code = project
|
||||
.enablePlugins(ScalaJSPlugin)
|
||||
.settings(scalaVersion := "0.27.0-RC1")
|
||||
.settings(scalaVersion := "3.0.0-M1")
|
||||
|
||||
lazy val app = project
|
||||
.enablePlugins(ScalaJSPlugin)
|
||||
.dependsOn(scala3code)
|
||||
.settings(
|
||||
libraryDependencies ~= (_.filterNot(_.name.contains("scalajs-compiler"))),
|
||||
addCompilerPlugin("org.scala-js" % "scalajs-compiler_2.13.3" % scalaJSVersion),
|
||||
addCompilerPlugin("org.scala-js" % "scalajs-compiler_2.13.4" % scalaJSVersion),
|
||||
scalaJSUseMainModuleInitializer := true,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.3")
|
||||
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.6")
|
||||
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.3.0")
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
ThisBuild / scalaVersion := "0.27.0-RC1"
|
||||
ThisBuild / scalaVersion := "3.0.0-M1"
|
||||
ThisBuild / scalacOptions += "-Ytasty-reader"
|
||||
|
||||
ThisBuild / resolvers += "scala-integration" at "https://scala-ci.typesafe.com/artifactory/scala-integration/"
|
||||
// TODO use 2.13.4 when it's out
|
||||
lazy val scala213 = "2.13.4-bin-d526da6"
|
||||
lazy val scala213 = "2.13.4"
|
||||
|
||||
lazy val root = (project in file("."))
|
||||
.aggregate(fooApp, fooCore, barApp, barCore)
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.3")
|
||||
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.6")
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
ThisBuild / scalaVersion := "0.27.0-RC1"
|
||||
ThisBuild / scalaVersion := "3.0.0-M1"
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.3")
|
||||
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.6")
|
||||
|
|
|
|||
Loading…
Reference in New Issue