From eae235936a68c0499ffdccb458e45deaea2087c7 Mon Sep 17 00:00:00 2001 From: ssedoudbgouv <85867707+ssedoudbgouv@users.noreply.github.com> Date: Sat, 16 Nov 2024 10:23:35 +0100 Subject: [PATCH] FFGR8-2719 : update libs (#3) * FFGR8-2719 : update libs --- .scalafmt.conf | 3 ++- build.sbt | 2 +- project/Dependencies.scala | 23 ++++++++++------------- project/plugins.sbt | 4 ++-- 4 files changed, 15 insertions(+), 17 deletions(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 1eab87d..2cafe47 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -17,5 +17,6 @@ project.excludeFilters = [ .metals, .bloop, .idea, - target + target, + project ] \ No newline at end of file diff --git a/build.sbt b/build.sbt index a6e1a51..a0e2246 100644 --- a/build.sbt +++ b/build.sbt @@ -5,7 +5,7 @@ organization := "fr.gouv.beta" version := "1.3.13" -scalaVersion := "2.13.14" +scalaVersion := "2.13.15" lazy val `signalement-antivirus` = (project in file(".")).enablePlugins(PlayScala) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 0a23403..c469616 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -5,27 +5,24 @@ import sbt._ object Dependencies { object Versions { - lazy val playSlickVersion = "6.1.0" + lazy val playSlickVersion = "6.1.1" lazy val slickPgVersion = "0.22.2" lazy val pekkoHttpVersion = "1.0.1" lazy val pekkoVersion = "1.0.2" - lazy val enumeratumVersion = "1.8.0" - lazy val sentryVersion = "7.12.0" + lazy val enumeratumVersion = "1.8.2" + lazy val sentryVersion = "7.17.0" lazy val jbcrypt = "0.4" - lazy val specs2MatcherExtraVersion = "4.20.6" - lazy val scalaCheckVersion = "1.18.0" + lazy val specs2MatcherExtraVersion = "4.20.9" + lazy val scalaCheckVersion = "1.18.1" lazy val catsCoreVersion = "2.12.0" - lazy val pureConfigVersion = "0.17.6" + lazy val pureConfigVersion = "0.17.7" lazy val awsJavaSdkS3Version = "1.12.736" - lazy val jacksonModuleScalaVersion = "2.17.1" - lazy val postgresqlVersion = "42.7.3" + lazy val jacksonModuleScalaVersion = "2.18.1" + lazy val postgresqlVersion = "42.7.4" lazy val refinedVersion = "0.11.2" - lazy val flyWayVersion = "10.14.0" + lazy val flyWayVersion = "10.21.0" lazy val janino = "3.1.12" - // Cannot be updated to "7.4" because of the following error when logging as JSON: - // java.lang.NoSuchMethodError: 'java.time.Instant ch.qos.logback.classic.spi.ILoggingEvent.getInstant()' - // If we want to upgrade, we MUST check json logs (env var USE_TEXT_LOGS set to false) to see if this error still happen - lazy val logstashLogbackEncoder = "7.3" + lazy val logstashLogbackEncoder = "8.0" } diff --git a/project/plugins.sbt b/project/plugins.sbt index cf86940..dd3daf3 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,6 +1,6 @@ -addSbtPlugin("org.playframework" % "sbt-plugin" % "3.0.3") +addSbtPlugin("org.playframework" % "sbt-plugin" % "3.0.5") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") -addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.12.1") +addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.13.0") addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.0") addSbtPlugin("com.github.cb372" % "sbt-explicit-dependencies" % "0.3.1") addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.4")