Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from Dasiu/play-2-8-update
Browse files Browse the repository at this point in the history
Updated Play to 2.8
  • Loading branch information
Dasiu authored Jan 19, 2020
2 parents 754a9b4 + 8bf245c commit 05a23b5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version := "1.0"
lazy val root = (project in file("."))
.enablePlugins(PlayScala)

scalaVersion := "2.13.0"
scalaVersion := "2.13.1"

javacOptions ++= Seq("-source", "11", "-target", "11")

Expand All @@ -15,19 +15,19 @@ libraryDependencies ++= Seq(
ws,
ehcache,
cacheApi,
"com.typesafe.play" %% "play-json" % "2.7.4",
"org.julienrf" %% "play-json-derived-codecs" % "6.0.0",
"com.typesafe.play" %% "play-slick" % "4.0.2",
"com.typesafe.play" %% "play-slick-evolutions" % "4.0.2",
"com.typesafe.play" %% "play-json" % "2.8.1",
"org.julienrf" %% "play-json-derived-codecs" % "7.0.0",
"com.typesafe.play" %% "play-slick" % "5.0.0",
"com.typesafe.play" %% "play-slick-evolutions" % "5.0.0",
"commons-validator" % "commons-validator" % "1.6",
"com.github.slugify" % "slugify" % "2.4",
"com.h2database" % "h2" % "1.4.199",
"com.h2database" % "h2" % "1.4.200",
"org.mindrot" % "jbcrypt" % "0.4",
"org.apache.commons" % "commons-lang3" % "3.9",

"com.softwaremill.macwire" %% "macros" % "2.3.3" % "provided",

"org.scalatestplus.play" %% "scalatestplus-play" % "4.0.3" % "test",
"org.scalatestplus.play" %% "scalatestplus-play" % "5.0.0" % "test",
)

fork in run := true
4 changes: 2 additions & 2 deletions conf/evolutions/default/1.sql
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ CREATE TABLE follow_associations (
followed_id INTEGER NOT NULL,
FOREIGN KEY (follower_id) REFERENCES users(id),
FOREIGN KEY (followed_id) REFERENCES users(id),
CONSTRAINT follow_associations_follower_followed_unq UNIQUE (follower_id, followed_id),
CONSTRAINT follow_associations_follower_followed_unq UNIQUE (follower_id, followed_id)
);

CREATE TABLE favorite_associations (
Expand All @@ -80,7 +80,7 @@ CREATE TABLE favorite_associations (
favorited_id INTEGER NOT NULL,
FOREIGN KEY (user_id) REFERENCES users(id),
FOREIGN KEY (favorited_id) REFERENCES articles(id),
CONSTRAINT favorite_associations_user_favorited_unq UNIQUE (user_id, favorited_id),
CONSTRAINT favorite_associations_user_favorited_unq UNIQUE (user_id, favorited_id)
);

# --- !Downs
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"

addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.7.3")
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.0")

addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.4.1")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ object RealWorldWithServerAndTestConfigBaseTest {
override def configuration: Configuration = {
val testConfig = Configuration.from(TestUtils.config)
val config = super.configuration
config ++ testConfig
testConfig.withFallback(config)
}

}
Expand Down

0 comments on commit 05a23b5

Please sign in to comment.