Skip to content

Commit b40db81

Browse files
Merge pull request #15 from hmrc/updates
Update dependencies
2 parents 488d7dd + 9d2d312 commit b40db81

File tree

5 files changed

+8
-69
lines changed

5 files changed

+8
-69
lines changed

build.sbt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ lazy val microservice = Project("user-allow-list-admin-frontend", file("."))
2626
scalacOptions += "-Wconf:cat=unused-imports&src=html/.*:s",
2727
pipelineStages := Seq(gzip),
2828
)
29-
.settings(resolvers += Resolver.jcenterRepo)
3029
.settings(CodeCoverageSettings.settings)
3130

3231
lazy val it = project

conf/application.conf

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,9 @@ include "frontend.conf"
1717
appName = "user-allow-list-admin-frontend"
1818
play.http.router = prod.Routes
1919

20-
# An ApplicationLoader that uses Guice to bootstrap the application.
21-
play.application.loader = "uk.gov.hmrc.play.bootstrap.ApplicationLoader"
22-
23-
# Primary entry point for all HTTP requests on Play applications
24-
play.http.requestHandler = "uk.gov.hmrc.play.bootstrap.http.RequestHandler"
25-
26-
# Provides an implementation of AuditConnector. Use `uk.gov.hmrc.play.audit.AuditModule` or create your own.
27-
# An audit connector must be provided.
28-
play.modules.enabled += "uk.gov.hmrc.play.audit.AuditModule"
29-
30-
# Provides an implementation of MetricsFilter. Use `uk.gov.hmrc.play.bootstrap.graphite.GraphiteMetricsModule` or create your own.
31-
# A metric filter must be provided
32-
play.modules.enabled += "uk.gov.hmrc.play.bootstrap.graphite.GraphiteMetricsModule"
33-
34-
# Provides an implementation and configures all filters required by a Platform frontend microservice.
35-
play.modules.enabled += "uk.gov.hmrc.play.bootstrap.frontend.FrontendModule"
3620
play.filters.enabled += play.filters.csp.CSPFilter
3721

3822
# Default http client
39-
play.modules.enabled += "uk.gov.hmrc.play.bootstrap.HttpClientModule"
4023
play.modules.enabled += "uk.gov.hmrc.play.bootstrap.HttpClientV2Module"
4124

4225
# Internal auth module
@@ -47,15 +30,6 @@ play.http.errorHandler = "config.ErrorHandler"
4730

4831
microservice {
4932

50-
metrics {
51-
graphite {
52-
host = localhost
53-
port = 2003
54-
prefix = play.${appName}.
55-
enabled = false
56-
}
57-
}
58-
5933
services {
6034

6135
contact-frontend {
@@ -78,40 +52,6 @@ microservice {
7852
}
7953
}
8054

81-
metrics {
82-
name = ${appName}
83-
rateUnit = SECONDS
84-
durationUnit = SECONDS
85-
showSamples = true
86-
jvm = true
87-
enabled = false
88-
}
89-
90-
auditing {
91-
enabled = false
92-
traceRequests = true
93-
consumer {
94-
baseUri {
95-
host = localhost
96-
port = 8100
97-
}
98-
}
99-
}
100-
101-
controllers {
102-
controllers.Assets = {
103-
needsAuditing = false
104-
}
105-
106-
uk.gov.hmrc.govukfrontend.controllers.Assets = {
107-
needsAuditing = false
108-
}
109-
110-
uk.gov.hmrc.hmrcfrontend.controllers.Assets = {
111-
needsAuditing = false
112-
}
113-
}
114-
11555
play.i18n.langCookieHttpOnly: "true"
11656

11757
# Change this value to true to enable Welsh translations to be loaded from messages.cy, and to display the language toggle

project/AppDependencies.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ import sbt._
22

33
object AppDependencies {
44

5-
private val bootstrapVersion = "9.0.0"
5+
private val bootstrapVersion = "9.12.0"
66

77
val compile = Seq(
88
"uk.gov.hmrc" %% "bootstrap-frontend-play-30" % bootstrapVersion,
9-
"uk.gov.hmrc" %% "play-frontend-hmrc-play-30" % "10.1.0",
10-
"uk.gov.hmrc" %% "internal-auth-client-play-30" % "3.0.0"
9+
"uk.gov.hmrc" %% "play-frontend-hmrc-play-30" % "12.1.0",
10+
"uk.gov.hmrc" %% "internal-auth-client-play-30" % "4.0.0"
1111
)
1212

1313
val test = Seq(

project/build.properties

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

project/plugins.sbt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ resolvers += MavenRepository("HMRC-open-artefacts-maven2", "https://open.artefac
22
resolvers += Resolver.url("HMRC-open-artefacts-ivy2", url("https://open.artefacts.tax.service.gov.uk/ivy2"))(Resolver.ivyStylePatterns)
33
resolvers += Resolver.typesafeRepo("releases")
44

5-
addSbtPlugin("uk.gov.hmrc" % "sbt-auto-build" % "3.22.0")
6-
addSbtPlugin("uk.gov.hmrc" % "sbt-distributables" % "2.5.0")
7-
addSbtPlugin("org.playframework" % "sbt-plugin" % "3.0.3")
8-
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.9")
5+
addSbtPlugin("uk.gov.hmrc" % "sbt-auto-build" % "3.24.0")
6+
addSbtPlugin("uk.gov.hmrc" % "sbt-distributables" % "2.6.0")
7+
addSbtPlugin("org.playframework" % "sbt-plugin" % "3.0.7")
8+
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.3.1")
99
addSbtPlugin("com.typesafe.sbt" % "sbt-gzip" % "1.0.2")
1010
addSbtPlugin("io.github.irundaia" % "sbt-sassify" % "1.5.2")

0 commit comments

Comments
 (0)