Skip to content

Commit

Permalink
Merge pull request #28 from froth/0.23-scala3
Browse files Browse the repository at this point in the history
Update dependencies and change README.md mirroring http4s/http4s.g8
  • Loading branch information
rossabaker authored Jun 26, 2023
2 parents e42eea1 + 452eca5 commit f419e8a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ This template is fixed on `cats.effect.IO`. For a final tagless version, see [h
Generate an http4s service on the blaze backend with Circe.

1. [Install sbt](http://www.scala-sbt.org/1.0/docs/Setup.html)
2. `sbt new http4s/http4s-io.g8`
2. Create your project:
- Scala 2: `sbt new http4s/http4s-io.g8`
- Scala 3: `sbt new http4s/http4s-io.g8 --branch 0.23-scala3`
3. `cd quickstart`
4. `sbt run`
5. `curl http://localhost:8080/hello/$USER`
Expand Down
2 changes: 1 addition & 1 deletion src/main/g8/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ lazy val root = (project in file("."))
organization := "$organization$",
name := "$name;format="norm"$",
version := "0.0.1-SNAPSHOT",
scalaVersion := "3.1.0",
scalaVersion := "3.3.0",
libraryDependencies ++= Seq(
"org.http4s" %% "http4s-ember-server" % Http4sVersion,
"org.http4s" %% "http4s-ember-client" % Http4sVersion,
Expand Down
8 changes: 4 additions & 4 deletions src/main/g8/default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ package = $organization$.$name;format="norm,word"$
#http4s_version = maven(org.http4s, http4s-blaze-server_2.12, stable)
#logback_version = maven(ch.qos.logback, logback-classic, stable)

sbt_version = 1.5.5
http4s_version = 0.23.6
logback_version = 1.2.6
sbt_version = 1.9.0
http4s_version = 0.23.20
logback_version = 1.4.8
munit_version = 0.7.29
munit_cats_effect_version = 1.0.6
munit_cats_effect_version = 1.0.7

0 comments on commit f419e8a

Please sign in to comment.