Skip to content

Commit

Permalink
Merge pull request #954 from hmrc/update
Browse files Browse the repository at this point in the history
Bump Scala version and update warning suppression config
  • Loading branch information
colin-lamed authored Oct 4, 2024
2 parents 4686127 + 9b8858c commit 9914bc6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ lazy val microservice = Project("catalogue-frontend", file("."))
.disablePlugins(JUnitXmlReportPlugin) //Required to prevent https://github.com/scalatest/scalatest/issues/1427
.settings(
majorVersion := 5,
scalaVersion := "3.3.3",
scalaVersion := "3.3.4",
playDefaultPort := 9017,
libraryDependencies ++= compile ++ test,
RoutesKeys.routesImport ++= Seq(
Expand All @@ -31,8 +31,9 @@ lazy val microservice = Project("catalogue-frontend", file("."))
),
// https://www.scala-lang.org/2021/01/12/configuring-and-suppressing-warnings.html
// suppress unused-imports in twirl and routes files
scalacOptions += "-Wconf:cat=unused-imports&src=html/.*:s",
scalacOptions += "-Wconf:msg=unused import&src=html/.*:s",
scalacOptions += "-Wconf:src=routes/.*:s",
scalacOptions += "-Wconf:msg=Flag.*repeatedly:s",
//scalacOptions += "-explain",
javaOptions += "-Xmx2G",
pipelineStages := Seq(digest)
Expand Down

0 comments on commit 9914bc6

Please sign in to comment.