Skip to content

Commit f8b7e6d

Browse files
committed
build for play2.9
1 parent ba013a7 commit f8b7e6d

File tree

2 files changed

+15
-19
lines changed

2 files changed

+15
-19
lines changed

build.sbt

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
1-
val scala2_12 = "2.12.15"
21
val scala2_13 = "2.13.7"
32

43
val silencerVersion = "1.7.7"
54

6-
lazy val root = Project("play-ui-play-28", file("."))
5+
lazy val root = Project("play-ui-play-29", file("."))
76
.enablePlugins(SbtTwirl)
87
.disablePlugins(JUnitXmlReportPlugin) // Required to prevent https://github.com/scalatest/scalatest/issues/1427
98
.settings(
109
majorVersion := 9,
1110
scalaVersion := scala2_13,
12-
crossScalaVersions := Seq(scala2_12, scala2_13),
11+
crossScalaVersions := Seq(scala2_13),
1312
libraryDependencies ++= Seq(
14-
"com.typesafe.play" %% "play" % "2.8.7",
15-
"com.typesafe.play" %% "filters-helpers" % "2.8.7",
16-
"org.joda" % "joda-convert" % "2.0.2",
17-
"org.apache.commons" % "commons-text" % "1.9",
18-
"org.scalatest" %% "scalatest" % "3.0.8" % Test,
19-
"org.pegdown" % "pegdown" % "1.6.0" % Test,
20-
"org.jsoup" % "jsoup" % "1.11.3" % Test,
21-
"com.typesafe.play" %% "play-test" % "2.8.7" % Test,
22-
"org.scalacheck" %% "scalacheck" % "1.14.0" % Test
23-
),
24-
libraryDependencySchemes += "org.scala-lang.modules" %% "scala-xml" % VersionScheme.Always // required since we're cross building for Play 2.8 which isn't compatible with sbt 1.9
13+
"com.typesafe.play" %% "play" % "2.9.0",
14+
"com.typesafe.play" %% "play-filters-helpers" % "2.9.0",
15+
"joda-time" % "joda-time" % "2.12.5",
16+
"org.joda" % "joda-convert" % "2.0.2",
17+
"org.apache.commons" % "commons-text" % "1.9",
18+
"org.scalatest" %% "scalatest" % "3.0.8" % Test,
19+
"org.pegdown" % "pegdown" % "1.6.0" % Test,
20+
"org.jsoup" % "jsoup" % "1.11.3" % Test,
21+
"com.typesafe.play" %% "play-test" % "2.9.0" % Test,
22+
"org.scalacheck" %% "scalacheck" % "1.14.0" % Test
23+
)
2524
)
2625
.settings(
2726
TwirlKeys.templateImports := Seq(

project/plugins.sbt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@ resolvers += Resolver.url("HMRC-open-artefacts-ivy2", url("https://open.artefact
33
Resolver.ivyStylePatterns
44
)
55

6-
// required since we're cross building for Play 2.8 which isn't compatible with sbt 1.9
7-
libraryDependencySchemes += "org.scala-lang.modules" %% "scala-xml" % VersionScheme.Always
6+
addSbtPlugin("uk.gov.hmrc" % "sbt-auto-build" % "3.15.0")
87

9-
addSbtPlugin("uk.gov.hmrc" % "sbt-auto-build" % "3.6.0")
10-
11-
addSbtPlugin("com.typesafe.sbt" % "sbt-twirl" % "1.5.1")
8+
addSbtPlugin("com.typesafe.play" % "sbt-twirl" % "1.6.1")
129

1310
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.0")

0 commit comments

Comments
 (0)