FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Upgrade play to 2.4.0 · devhttps/frontend@2fbae57 · GitHub

Commit 2fbae57

Browse files
Richard Nguyen
committed
Upgrade play to 2.4.0
1 parent 1a3bc4c commit 2fbae57

4 files changed

Lines changed: 13 additions & 8 deletions

File tree

‎project/Dependencies.scala‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ object Dependencies {
1717
val contentApiClient = "com.gu" %% "content-api-client" % "6.6"
1818
val dfpAxis = "com.google.api-ads" % "dfp-axis" % "2.0.0"
1919
val dispatch = "net.databinder.dispatch" %% "dispatch-core" % "0.11.3"
20+
val dispatchTest = "net.databinder.dispatch" %% "dispatch-core" % "0.11.3" % Test
2021
val exactTargetClient = "com.gu" %% "exact-target-client" % "2.24"
2122
val faciaFapiScalaClient = "com.gu" %% "fapi-client" % "0.51"
2223
val faciaScalaClient = "com.gu" %% "facia-json" % "0.51"
@@ -57,4 +58,5 @@ object Dependencies {
5758
val snappyJava = "org.xerial.snappy" % "snappy-java" % "1.0.5.1"
5859
val uaDetectorResources = "net.sf.uadetector" % "uadetector-resources" % "2013.04"
5960
val scalaTestPlus = "org.scalatestplus" %% "play" % "1.2.0" % "test"
61+
val anormModule = "com.typesafe.play" %% "anorm" % "2.4.0"
6062
}

‎project/Frontend.scala‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import sbt.Keys._
55
import play.Play.autoImport._
66
import PlayKeys._
77
import play._
8+
import play.sbt._
9+
import play.sbt.routes.RoutesKeys
810
import play.twirl.sbt.Import._
911
import com.typesafe.sbt.web.Import._
1012
import Dependencies._
@@ -39,7 +41,8 @@ object Frontend extends Build with Prototypes {
3941
shadeMemcached,
4042
snappyJava,
4143
ws,
42-
faciaFapiScalaClient
44+
faciaFapiScalaClient,
45+
dispatchTest
4346
)
4447
).settings(
4548
mappings in TestAssets ~= filterAssets
@@ -98,11 +101,11 @@ object Frontend extends Build with Prototypes {
98101
postgres,
99102
paClient,
100103
dfpAxis,
101-
anorm,
104+
anormModule,
102105
jdbc
103106
),
104-
routesImport += "bindables._",
105-
routesImport += "org.joda.time.LocalDate"
107+
RoutesKeys.routesImport += "bindables._",
108+
RoutesKeys.routesImport += "org.joda.time.LocalDate"
106109
)
107110

108111
val faciaTool = application("facia-tool").dependsOn(commonWithTests).aggregate(common).settings(
@@ -171,11 +174,11 @@ object Frontend extends Build with Prototypes {
171174
)
172175

173176
val preview = application("preview").dependsOn(withTests(common), standalone).settings(
174-
routesImport += "scala.language.reflectiveCalls"
177+
RoutesKeys.routesImport += "scala.language.reflectiveCalls"
175178
)
176179

177180
val trainingPreview = application("training-preview").dependsOn(withTests(common), standalone).settings(
178-
routesImport += "scala.language.reflectiveCalls"
181+
RoutesKeys.routesImport += "scala.language.reflectiveCalls"
179182
)
180183

181184
val integrationTests = Project("integrated-tests", file("integrated-tests"))

‎project/build.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=0.13.7
1+
sbt.version=0.13.8

‎project/plugins.sbt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ resolvers ++= Seq(
88
Resolver.url("sbt-plugin-snapshots", new URL("http://repo.scala-sbt.org/scalasbt/sbt-plugin-snapshots/"))(Resolver.ivyStylePatterns)
99
)
1010

11-
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.7")
11+
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.4.0")
1212

1313
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "0.7.6")
1414

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL