-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from hmrc/PLATUI-533_Play_2_7
PLATUI-533: Add Play 2.7 support
- Loading branch information
Showing
10 changed files
with
162 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## [0.16.0] - 2020-06-15 | ||
|
||
### Added | ||
|
||
- Support for Play 2.7 | ||
|
||
### Compatible with | ||
|
||
- [hmrc/hmrc-frontend v1.12.0](https://github.com/hmrc/hmrc-frontend/releases/tag/v1.12.0) | ||
- [hmrc/play-frontend-govuk v0.47.0](https://github.com/hmrc/play-frontend-govuk/releases/tag/v0.47.0) | ||
- [alphagov/govuk-frontend v3.6.0](https://github.com/alphagov/govuk-frontend/releases/tag/v3.6.0) | ||
|
||
## [0.15.0] - 2020-05-21 | ||
|
||
### Added | ||
|
||
- Refactor build to remove dependency on x-frontend-snapshotter | ||
|
||
### Compatible with | ||
|
||
- [hmrc/hmrc-frontend v1.12.0](https://github.com/hmrc/hmrc-frontend/releases/tag/v1.12.0) | ||
- [hmrc/play-frontend-govuk v0.45.0](https://github.com/hmrc/play-frontend-govuk/releases/tag/v0.45.0) | ||
- [alphagov/govuk-frontend v3.6.0](https://github.com/alphagov/govuk-frontend/releases/tag/v3.6.0) | ||
|
||
## [0.14.0] - 2020-05-11 | ||
|
||
### Added | ||
|
||
- hmrcCurrencyInput | ||
|
||
### Compatible with | ||
|
||
- [hmrc/hmrc-frontend v1.12.0](https://github.com/hmrc/hmrc-frontend/releases/tag/v1.12.0) | ||
- [hmrc/play-frontend-govuk v0.44.0](https://github.com/hmrc/play-frontend-govuk/releases/tag/v0.45.0) | ||
- [alphagov/govuk-frontend v3.6.0](https://github.com/alphagov/govuk-frontend/releases/tag/v3.6.0) | ||
|
||
## [0.13.0] - 2020-04-22 | ||
|
||
### Added | ||
|
||
- hmrcReportTechnicalIssue | ||
- hmrcLanguageSelect | ||
|
||
### Compatible with | ||
|
||
- [hmrc/hmrc-frontend v1.11.0](https://github.com/hmrc/hmrc-frontend/releases/tag/v1.11.0) | ||
- [alphagov/govuk-frontend v3.4.0](https://github.com/alphagov/govuk-frontend/releases/tag/v3.4.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
import sbt._ | ||
import PlayCrossCompilation.dependencies | ||
import play.sbt.PlayImport.ws | ||
import sbt.ModuleID | ||
|
||
object LibDependencies { | ||
lazy val hmrcFrontendVersion = "1.12.0" | ||
|
||
lazy val libDependencies: Seq[ModuleID] = dependencies( | ||
shared = { | ||
import PlayCrossCompilation.playRevision | ||
|
||
val compile = Seq( | ||
"com.typesafe.play" %% "play" % playRevision, | ||
"com.typesafe.play" %% "filters-helpers" % playRevision, | ||
"org.joda" % "joda-convert" % "2.0.2", | ||
"org.webjars.npm" % "hmrc-frontend" % hmrcFrontendVersion | ||
) | ||
|
||
val test = Seq( | ||
"org.scalatest" %% "scalatest" % "3.0.8", | ||
"org.pegdown" % "pegdown" % "1.6.0", | ||
"org.jsoup" % "jsoup" % "1.11.3", | ||
"com.typesafe.play" %% "play-test" % playRevision, | ||
"org.scalacheck" %% "scalacheck" % "1.14.1", | ||
"com.googlecode.htmlcompressor" % "htmlcompressor" % "1.5.2", | ||
"com.github.pathikrit" %% "better-files" % "3.8.0", | ||
"com.lihaoyi" %% "pprint" % "0.5.3", | ||
"org.bitbucket.cowwoc" % "diff-match-patch" % "1.2", | ||
ws | ||
).map(_ % Test) | ||
|
||
compile ++ test | ||
}, | ||
play25 = { | ||
val compile = Seq( | ||
"uk.gov.hmrc" %% "play-frontend-govuk" % "0.47.0-play-25" | ||
) | ||
|
||
val test = Seq( | ||
"org.scalatestplus.play" %% "scalatestplus-play" % "2.0.1" | ||
).map(_ % Test) | ||
|
||
compile ++ test | ||
}, | ||
play26 = { | ||
val compile = Seq( | ||
"uk.gov.hmrc" %% "play-frontend-govuk" % "0.47.0-play-26" | ||
) | ||
|
||
val test = Seq( | ||
"org.scalatestplus.play" %% "scalatestplus-play" % "3.1.2" | ||
).map(_ % Test) | ||
|
||
compile ++ test | ||
}, | ||
play27 = { | ||
val compile = Seq( | ||
"uk.gov.hmrc" %% "play-frontend-govuk" % "0.47.0-play-27" | ||
) | ||
val test = Seq( | ||
"org.scalatestplus.play" %% "scalatestplus-play" % "4.0.3" | ||
).map(_ % Test) | ||
|
||
compile ++ test | ||
} | ||
) | ||
|
||
lazy val overrides: Set[ModuleID] = dependencies( | ||
play25 = Seq( | ||
"com.typesafe.play" %% "twirl-api" % "1.1.1" | ||
) | ||
).toSet | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
resolvers += Resolver.url("hmrc-sbt-plugin-releases", url("https://dl.bintray.com/hmrc/sbt-plugin-releases"))( | ||
Resolver.ivyStylePatterns) | ||
|
||
addSbtPlugin("uk.gov.hmrc" % "sbt-play-cross-compilation" % "0.17.0") | ||
addSbtPlugin("uk.gov.hmrc" % "sbt-play-cross-compilation" % "0.20.0") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters