Skip to content

Commit

Permalink
Upgrade to latest libs
Browse files Browse the repository at this point in the history
  • Loading branch information
vmunier committed Nov 24, 2023
1 parent 2d9defb commit 1f1d84e
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 17 deletions.
9 changes: 6 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ name := "akka-http-scalajs.g8"

enablePlugins(ScriptedPlugin)

resolvers += "Akka library repository".at("https://repo.akka.io/maven")

// add the below dependencies in the template build, so that Scala Steward can update versions in the giter8 template
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-http" % "10.5.2",
"com.typesafe.akka" %% "akka-stream" % "2.8.5",
"org.scala-js" %%% "scalajs-dom" % "2.6.0"
"com.typesafe.akka" %% "akka-http" % "10.6.0",
"com.typesafe.akka" %% "akka-stream" % "2.9.0",
"com.vmunier" %% "scalajs-scripts" % "1.3.0",
"org.scala-js" %%% "scalajs-dom" % "2.8.0"
)
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.9.6
sbt.version=1.9.7
8 changes: 4 additions & 4 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ addSbtPlugin("org.foundweekends.giter8" % "sbt-giter8" % "0.16.2")
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.13.2")
addSbtPlugin("com.vmunier" % "sbt-web-scalajs" % "1.3.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.14.0")
addSbtPlugin("io.spray" % "sbt-revolver" % "0.10.0")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.1.3")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.1.5")
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.16")
addSbtPlugin("com.typesafe.play" % "sbt-twirl" % "1.6.1")
addSbtPlugin("org.playframework.twirl" % "sbt-twirl" % "2.0.2")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2")
9 changes: 5 additions & 4 deletions src/main/g8/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ lazy val server = project
Assets / pipelineStages := Seq(scalaJSPipeline),
// triggers scalaJSPipeline when using compile or continuous compilation
Compile / compile := ((Compile / compile) dependsOn scalaJSPipeline).value,
resolvers += "Akka library repository".at("https://repo.akka.io/maven"),
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-http" % "10.5.2",
"com.typesafe.akka" %% "akka-stream" % "2.8.5",
"com.vmunier" %% "scalajs-scripts" % "1.2.0"
"com.typesafe.akka" %% "akka-http" % "10.6.0",
"com.typesafe.akka" %% "akka-stream" % "2.9.0",
"com.vmunier" %% "scalajs-scripts" % "1.3.0"
),
Assets / WebKeys.packagePrefix := "public/",
Runtime / managedClasspath += (Assets / packageBin).value
Expand All @@ -25,7 +26,7 @@ lazy val server = project
lazy val client = project
.settings(
scalaJSUseMainModuleInitializer := true,
libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.6.0"
libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.8.0"
)
.enablePlugins(ScalaJSPlugin, ScalaJSWeb)
.dependsOn(shared.js)
Expand Down
2 changes: 1 addition & 1 deletion src/main/g8/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.9.6
sbt.version=1.9.7
8 changes: 4 additions & 4 deletions src/main/g8/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
addSbtPlugin("com.vmunier" % "sbt-web-scalajs" % "1.2.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.2")
addSbtPlugin("com.vmunier" % "sbt-web-scalajs" % "1.3.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.14.0")
addSbtPlugin("io.spray" % "sbt-revolver" % "0.10.0")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.1.3")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.1.5")
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.16")
addSbtPlugin("com.typesafe.play" % "sbt-twirl" % "1.6.1")
addSbtPlugin("org.playframework.twirl" % "sbt-twirl" % "2.0.2")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2")

0 comments on commit 1f1d84e

Please sign in to comment.