Skip to content

Commit

Permalink
Update to Play 3.0 (#32)
Browse files Browse the repository at this point in the history
Co-authored-by: Karel Cemus <[email protected]>
  • Loading branch information
KarelCemus and Karel Cemus authored Nov 7, 2023
1 parent 45caf01 commit 51ff7c7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<h1 align="center">Multi-format Messaging module<br/> for Play framework</h1>

**Note: This version supports Play framework 2.9.x. For compatibility with previous versions see previous releases.**
**Note: This version supports Play framework 3.0.x. For compatibility with previous versions see previous releases.**

[Play framework 2](http://playframework.com/) is delivered with default Messaging module using property
[Play framework](http://playframework.com/) is delivered with default Messaging module using property
files. The syntax is not much convenient as involves a lot of repetition, thus this module delivers
an alternative to supporting YAML format for messages including all features of the language.

Expand All @@ -13,7 +13,7 @@ To your SBT `build.sbt` add the following lines:
```scala
libraryDependencies ++= Seq(
// YAML localization module
"com.github.karelcemus" %% "play-i18n" % "2.4.0"
"com.github.karelcemus" %% "play-i18n" % "3.0.0"
)
```

Expand Down
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ scalaVersion := "2.13.12"

crossScalaVersions := Seq(scalaVersion.value, "3.3.1")

val playVersion = "2.9.0"
val playVersion = "3.0.0"

libraryDependencies ++= Seq(
// play framework cache API
"com.typesafe.play" %% "play" % playVersion % "provided",
"org.playframework" %% "play" % playVersion % "provided",
// YAML parser, Java library
"org.yaml" % "snakeyaml" % "2.2",
// test framework
"org.specs2" %% "specs2-core" % "4.20.3" % "test",
// test module for play framework
"com.typesafe.play" %% "play-test" % playVersion % "test",
"com.typesafe.play" %% "play-specs2" % playVersion % "test"
"org.playframework" %% "play-test" % playVersion % "test",
"org.playframework" %% "play-specs2" % playVersion % "test"
)

javacOptions ++= Seq("-Xlint:unchecked", "-encoding", "UTF-8")
Expand Down

0 comments on commit 51ff7c7

Please sign in to comment.