Skip to content

Commit

Permalink
Merge pull request #35 from http4s/0.23-autoupdates
Browse files Browse the repository at this point in the history
Add template dependencies to outer build.sbt to allow scalasteward
  • Loading branch information
froth authored Aug 5, 2023
2 parents 18963c8 + ab28177 commit 74c92b5
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 18 deletions.
16 changes: 16 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,25 @@ ThisBuild / githubWorkflowJavaVersions := Seq(
)
ThisBuild / githubWorkflowPublishTargetBranches := Seq.empty

val Http4sVersion = "0.23.23"
val CirceVersion = "0.14.5"
val MunitVersion = "0.7.29"
val LogbackVersion = "1.4.8"
val MunitCatsEffectVersion = "1.0.7"

lazy val root = project.in(file("."))
.settings(
name := "http4s-g8",
libraryDependencies ++= Seq(
"org.http4s" %% "http4s-ember-server" % Http4sVersion,
"org.http4s" %% "http4s-ember-client" % Http4sVersion,
"org.http4s" %% "http4s-circe" % Http4sVersion,
"org.http4s" %% "http4s-dsl" % Http4sVersion,
"io.circe" %% "circe-generic" % CirceVersion,
"org.scalameta" %% "munit" % MunitVersion % Test,
"org.typelevel" %% "munit-cats-effect-3" % MunitCatsEffectVersion % Test,
"ch.qos.logback" % "logback-classic" % LogbackVersion % Runtime,
),
Test / test := {
val _ = (Test / g8Test).toTask("").value
},
Expand Down
10 changes: 5 additions & 5 deletions src/main/g8/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
val Http4sVersion = "$http4s_version$"
val CirceVersion = "$circe_version$"
val MunitVersion = "$munit_version$"
val LogbackVersion = "$logback_version$"
val MunitCatsEffectVersion = "$munit_cats_effect_version$"
val Http4sVersion = "0.23.23"
val CirceVersion = "0.14.5"
val MunitVersion = "0.7.29"
val LogbackVersion = "1.4.8"
val MunitCatsEffectVersion = "1.0.7"

lazy val root = (project in file("."))
.settings(
Expand Down
12 changes: 0 additions & 12 deletions src/main/g8/default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,7 @@ name = quickstart
organization = com.example
package = $organization$.$name;format="norm,word"$

# Use these after https://github.com/sbt/sbt-giter8-resolver/pull/8
#scala_version = maven(org.scala-lang, scala-library, stable)
#sbt_version = maven(org.scala-sbt, sbt, stable)
#http4s_version = maven(org.http4s, http4s-blaze-server_2.12, stable)
#logback_version = maven(ch.qos.logback, logback-classic, stable)

scala_version = 2.13.10
sbt_version = 1.9.0
http4s_version = 0.23.20
circe_version = 0.14.5
logback_version = 1.4.8
munit_version = 0.7.29
munit_cats_effect_version = 1.0.7
# graal_vm_specific
graal_native_image = true
is_linux_build = false
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,2 +1,2 @@
sbt.version=$sbt_version$
sbt.version=1.9.3

0 comments on commit 74c92b5

Please sign in to comment.