From 6b4f0a50f0685f114a4536d142332590933a8ed8 Mon Sep 17 00:00:00 2001 From: Patrick Boos Date: Mon, 23 Dec 2024 13:36:18 +0100 Subject: [PATCH] [CHK-11672][CHK-11673] Update logback (security) --- examples/example-spring-boot-starter-web/build.gradle | 10 ++++++++++ .../example-spring-boot-starter-webflux/build.gradle | 11 +++++++++++ 2 files changed, 21 insertions(+) diff --git a/examples/example-spring-boot-starter-web/build.gradle b/examples/example-spring-boot-starter-web/build.gradle index c49b3e87..9338fada 100644 --- a/examples/example-spring-boot-starter-web/build.gradle +++ b/examples/example-spring-boot-starter-web/build.gradle @@ -5,6 +5,16 @@ plugins { alias(libs.plugins.openapi.generator) } +// Needed for security. See: +// - https://github.com/getyourguide/openapi-validation-java/security/dependabot/7 +// - https://github.com/getyourguide/openapi-validation-java/security/dependabot/6 +// Hopefully with spring-boot 3.4.2+ this won't be needed anymore and can be removed. +dependencyManagement { + dependencies { + dependency 'ch.qos.logback:logback-core:1.5.15' + dependency 'ch.qos.logback:logback-classic:1.5.15' + } +} dependencies { implementation project(':examples:examples-common') diff --git a/examples/example-spring-boot-starter-webflux/build.gradle b/examples/example-spring-boot-starter-webflux/build.gradle index 59eaef61..ab761f7e 100644 --- a/examples/example-spring-boot-starter-webflux/build.gradle +++ b/examples/example-spring-boot-starter-webflux/build.gradle @@ -5,6 +5,17 @@ plugins { alias(libs.plugins.openapi.generator) } +// Needed for security. See: +// - https://github.com/getyourguide/openapi-validation-java/security/dependabot/7 +// - https://github.com/getyourguide/openapi-validation-java/security/dependabot/6 +// Hopefully with spring-boot 3.4.2+ this won't be needed anymore and can be removed. +dependencyManagement { + dependencies { + dependency 'ch.qos.logback:logback-core:1.5.15' + dependency 'ch.qos.logback:logback-classic:1.5.15' + } +} + dependencies { implementation project(':examples:examples-common') implementation project(':spring-boot-starter:spring-boot-starter-webflux')