From c05a3b328bfb5c8d1e0e6723886b377e5a80bf36 Mon Sep 17 00:00:00 2001 From: Jamie B <53781962+JamieB-gu@users.noreply.github.com> Date: Wed, 18 Oct 2023 12:25:44 +0100 Subject: [PATCH] Force a version of netty-codec-http2 Fixes an issue with the dependency. This is a transitive dependency of the AWS SDK used by etag-caching library. Co-authored-by: George B <705427+georgeblahblah@users.noreply.github.com> Co-authored-by: Max Duval Co-authored-by: Ioanna Kokkini Co-authored-by: Charlotte Emms <43961396+cemms1@users.noreply.github.com> Co-authored-by: Daniel Clifton <110032454+DanielCliftonGuardian@users.noreply.github.com> Co-authored-by: Sophie <26366706+sophie-macmillan@users.noreply.github.com> --- build.sbt | 1 + project/Dependencies.scala | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/build.sbt b/build.sbt index 3c701a739d3e..24be96b222bc 100644 --- a/build.sbt +++ b/build.sbt @@ -29,6 +29,7 @@ val common = library("common") awsSqs, awsSsm, eTagCachingS3, + nettyCodecHttp2, contentApiClient, enumeratumPlayJson, filters, diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 8f947793fc00..f8e97aaca8c8 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -124,6 +124,10 @@ object Dependencies { jacksonDatabind, ) + // Forcing a version of this to fix an issue with the dependency. + // This is a transitive dependency of the AWS SDK used by etag-caching library + val nettyCodecHttp2 = "io.netty" % "netty-codec-http2 " % "4.1.100.Final" + // Web jars val bootstrap = "org.webjars" % "bootstrap" % "3.3.7" val jquery = "org.webjars" % "jquery" % "3.2.1"