-
Notifications
You must be signed in to change notification settings - Fork 4
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 #48 from hmrc/BDOG-2800
Bdog 2800 Play 3.0 upgrade
- Loading branch information
Showing
14 changed files
with
28 additions
and
32 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,16 +1,22 @@ | ||
import uk.gov.hmrc.DefaultBuildSettings | ||
import uk.gov.hmrc.DefaultBuildSettings.integrationTestSettings | ||
import uk.gov.hmrc.sbtdistributables.SbtDistributablesPlugin.publishingSettings | ||
|
||
ThisBuild / majorVersion := 0 | ||
ThisBuild / scalaVersion := "2.13.12" | ||
|
||
lazy val microservice = Project("platform-status-frontend", file(".")) | ||
.enablePlugins(play.sbt.PlayScala, SbtDistributablesPlugin) | ||
.settings( | ||
majorVersion := 0, | ||
libraryDependencies ++= AppDependencies.compile ++ AppDependencies.test, | ||
scalaVersion := "2.13.10", | ||
scalacOptions += "-Wconf:cat=unused-imports&src=html/.*:s", | ||
scalacOptions += "-Wconf:src=routes/.*:s" | ||
) | ||
.configs(IntegrationTest) | ||
.settings(integrationTestSettings(): _*) | ||
.settings(resolvers += Resolver.jcenterRepo) | ||
.settings(PlayKeys.playDefaultPort := 8462) | ||
|
||
lazy val it = project | ||
.enablePlugins(PlayScala) | ||
.dependsOn(microservice % "test->test") // the "test->test" allows reusing test code and test dependencies | ||
.settings(DefaultBuildSettings.itSettings) | ||
.settings(libraryDependencies ++= AppDependencies.test) |
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,5 +1,3 @@ | ||
# Add all the application routes to the app.routes file | ||
-> /platform-status app.Routes | ||
-> / health.Routes | ||
|
||
GET /admin/metrics com.kenshoo.play.metrics.MetricsController.metrics |
File renamed without changes.
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 +1 @@ | ||
sbt.version=1.7.2 | ||
sbt.version=1.9.7 |
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,7 +1,7 @@ | ||
resolvers += MavenRepository("HMRC-open-artefacts-maven2", "https://open.artefacts.tax.service.gov.uk/maven2") | ||
resolvers += Resolver.url("HMRC-open-artefacts-ivy2", url("https://open.artefacts.tax.service.gov.uk/ivy2"))(Resolver.ivyStylePatterns) | ||
|
||
addSbtPlugin("uk.gov.hmrc" % "sbt-auto-build" % "3.9.0") | ||
addSbtPlugin("uk.gov.hmrc" % "sbt-distributables" % "2.2.0") | ||
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.19") | ||
addSbtPlugin("org.irundaia.sbt" % "sbt-sassify" % "1.5.1" ) | ||
addSbtPlugin("uk.gov.hmrc" % "sbt-auto-build" % "3.15.0") | ||
addSbtPlugin("uk.gov.hmrc" % "sbt-distributables" % "2.4.0") | ||
addSbtPlugin("org.playframework" % "sbt-plugin" % "3.0.0") | ||
addSbtPlugin("io.github.irundaia" % "sbt-sassify" % "1.5.2" ) |
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
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