From 51ff7c7afce91468a42600f5f7a3dcf0d9ab08ff Mon Sep 17 00:00:00 2001 From: Karel Cemus Date: Wed, 8 Nov 2023 00:22:16 +0100 Subject: [PATCH] Update to Play 3.0 (#32) Co-authored-by: Karel Cemus --- README.md | 6 +++--- build.sbt | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 795838b..83c68b4 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@

Multi-format Messaging module
for Play framework

-**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. @@ -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" ) ``` diff --git a/build.sbt b/build.sbt index ec7c979..b916658 100644 --- a/build.sbt +++ b/build.sbt @@ -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")