File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ releaseProcess := Seq[ReleaseStep](
2121 setNextVersion,
2222 commitNextVersion
2323)
24- ThisBuild / scalaVersion := " 2.13.17 "
24+ ThisBuild / scalaVersion := " 2.13.18 "
2525
2626ThisBuild / dockerBaseImage := " eclipse-temurin:8-jdk"
2727
@@ -47,7 +47,7 @@ val apacheThrift: String = "0.15.0"
4747val jacksonDatabind : String = " 2.19.1"
4848val jacksonCbor : String = " 2.19.1"
4949val jacksonScalaModule : String = " 2.19.1"
50- val simpleConfigurationVersion : String = " 1.5.7 "
50+ val simpleConfigurationVersion : String = " 9.0.2 "
5151val googleOAuthClient : String = " 1.39.0"
5252val nettyVersion : String = " 4.2.2.Final"
5353val slf4jVersion : String = " 1.7.36"
Original file line number Diff line number Diff line change 1- import 'source-map-support/register' ;
21import type { GuStackProps } from '@guardian/cdk/lib/constructs/core' ;
2+ import { GuLambdaFunction } from '@guardian/cdk/lib/constructs/lambda' ;
3+ import 'source-map-support/register' ;
34import { App } from 'aws-cdk-lib' ;
45import { Registration } from '../lib/registration' ;
56import { RegistrationsDbProxy } from '../lib/registrations-db-proxy' ;
@@ -92,3 +93,9 @@ export const reportPropsProd: ReportProps = {
9293 minAsgSize : 3 ,
9394} ;
9495new Report ( app , 'Report-PROD' , reportPropsProd ) ;
96+
97+ // Disable v1 deprecation warning across all lambda functions
98+ const lambdas = app . node . findAll ( ) . filter ( ( _ ) => _ instanceof GuLambdaFunction ) ;
99+ lambdas . forEach ( ( l ) =>
100+ l . addEnvironment ( 'AWS_JAVA_V1_DISABLE_DEPRECATION_ANNOUNCEMENT' , 'true' ) ,
101+ ) ;
You can’t perform that action at this time.
0 commit comments