From c277975430f28120feaaac3981a6bd619c6399f8 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Tue, 21 May 2024 07:43:52 -0500 Subject: [PATCH] don't recommend very old Scala version --- doc/project/cross-build.md | 2 +- doc/tutorial/basic/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/project/cross-build.md b/doc/project/cross-build.md index 0920d34..c1f64f9 100644 --- a/doc/project/cross-build.md +++ b/doc/project/cross-build.md @@ -38,7 +38,7 @@ addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.2.0") You can then use the `crossProject` builder in your `build.sbt` file: {% highlight scala %} -ThisBuild / scalaVersion := "2.13.1" +ThisBuild / scalaVersion := "2.13.14" lazy val root = project.in(file(".")). aggregate(foo.js, foo.jvm). diff --git a/doc/tutorial/basic/index.md b/doc/tutorial/basic/index.md index ff6d64c..1960dba 100644 --- a/doc/tutorial/basic/index.md +++ b/doc/tutorial/basic/index.md @@ -36,7 +36,7 @@ We also setup basic project settings and enable this plugin in the sbt build fil enablePlugins(ScalaJSPlugin) name := "Scala.js Tutorial" -scalaVersion := "2.13.1" // or any other Scala version >= 2.11.12 +scalaVersion := "2.13.14" // or a newer version such as "3.4.2", if you like // This is an application with a main method scalaJSUseMainModuleInitializer := true