From 9b8858c7b958e8b8a61764280838448861d60a53 Mon Sep 17 00:00:00 2001 From: colin-lamed <9568290+colin-lamed@users.noreply.github.com> Date: Fri, 4 Oct 2024 09:24:29 +0100 Subject: [PATCH] Bump Scala version and update warning suppression config --- build.sbt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 5909cef4a..b23ea38b4 100644 --- a/build.sbt +++ b/build.sbt @@ -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( @@ -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)