From b275b3f14732c3485f8070f392b61efade34b816 Mon Sep 17 00:00:00 2001 From: Patrick Boos Date: Mon, 23 Dec 2024 14:46:42 +0100 Subject: [PATCH] [CHK-11672][CHK-11673] Update logback (security) (#166) --- 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 c49b3e8..9338fad 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 59eaef6..ab761f7 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')