diff --git a/build.sbt b/build.sbt index 4a24712..aa420bf 100644 --- a/build.sbt +++ b/build.sbt @@ -4,5 +4,5 @@ enablePlugins(ScriptedPlugin) // add the below dependencies in the template build, so that Scala Steward can update versions in the giter8 template libraryDependencies ++= Seq( - "org.scala-js" %%% "scalajs-dom" % "1.1.0" + "org.scala-js" %%% "scalajs-dom" % "2.6.0" ) diff --git a/project/build.properties b/project/build.properties index c8fcab5..2743082 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.6.2 +sbt.version=1.9.6 diff --git a/project/plugins.sbt b/project/plugins.sbt index d991fce..1f2dc35 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,12 +1,14 @@ +ThisBuild / libraryDependencySchemes += "org.scala-lang.modules" %% "scala-xml" % VersionScheme.Always + // needed for the tests (ci/checksourcemaps.sh) -addSbtPlugin("org.foundweekends.giter8" % "sbt-giter8" % "0.13.1") +addSbtPlugin("org.foundweekends.giter8" % "sbt-giter8" % "0.16.2") // needed to make sbt-giter8 work with SBT >= v1.2.x libraryDependencies += { "org.scala-sbt" %% "scripted-plugin" % sbtVersion.value } // add the below dependencies in the template build, so that Scala Steward can update versions in the giter8 template addSbtPlugin("com.vmunier" % "sbt-web-scalajs" % "1.2.0") -addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.10.0") -addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.13") -addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.2.0") +addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.2") +addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.19") +addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2") addSbtPlugin("com.typesafe.sbt" % "sbt-gzip" % "1.0.2") addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.1.4") diff --git a/src/main/g8/build.sbt b/src/main/g8/build.sbt index 0194701..a9b0d9b 100644 --- a/src/main/g8/build.sbt +++ b/src/main/g8/build.sbt @@ -21,7 +21,7 @@ lazy val server = project lazy val client = project .settings( scalaJSUseMainModuleInitializer := true, - libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "1.1.0" + libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.6.0" ) .enablePlugins(ScalaJSPlugin, ScalaJSWeb) .dependsOn(shared.js) diff --git a/src/main/g8/project/build.properties b/src/main/g8/project/build.properties index c8fcab5..2743082 100644 --- a/src/main/g8/project/build.properties +++ b/src/main/g8/project/build.properties @@ -1 +1 @@ -sbt.version=1.6.2 +sbt.version=1.9.6 diff --git a/src/main/g8/project/plugins.sbt b/src/main/g8/project/plugins.sbt index bf7bd4a..1a7021e 100644 --- a/src/main/g8/project/plugins.sbt +++ b/src/main/g8/project/plugins.sbt @@ -1,9 +1,11 @@ +ThisBuild / libraryDependencySchemes += "org.scala-lang.modules" %% "scala-xml" % VersionScheme.Always + // Comment to get more information during initialization logLevel := Level.Warn addSbtPlugin("com.vmunier" % "sbt-web-scalajs" % "1.2.0") -addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.10.0") -addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.13") -addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.2.0") +addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.2") +addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.19") +addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2") addSbtPlugin("com.typesafe.sbt" % "sbt-gzip" % "1.0.2") addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.1.4")