Skip to content

Commit aebf1b2

Browse files
committed
[CHK-11672][CHK-11673] Update logback (security) - also on spring dependency management
1 parent 3396f3f commit aebf1b2

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ subprojects {
9393
def minimum = parse('1.5.15')
9494
if (current < minimum) {
9595
details.useVersion '1.5.15'
96+
details.because 'Security requirement: forcing logback version'
9697
}
9798
}
9899
}

examples/example-spring-boot-starter-web/build.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ plugins {
55
alias(libs.plugins.openapi.generator)
66
}
77

8+
// Needed for security. See:
9+
// - https://github.com/getyourguide/openapi-validation-java/security/dependabot/7
10+
// - https://github.com/getyourguide/openapi-validation-java/security/dependabot/6
11+
// Hopefully with spring-boot 3.4.2+ this won't be needed anymore and can be removed.
12+
dependencyManagement {
13+
dependencies {
14+
dependency 'ch.qos.logback:logback-core:1.5.15'
15+
dependency 'ch.qos.logback:logback-classic:1.5.15'
16+
}
17+
}
18+
819
dependencies {
920
implementation project(':examples:examples-common')
1021
implementation project(':spring-boot-starter:spring-boot-starter-web')

examples/example-spring-boot-starter-webflux/build.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ plugins {
55
alias(libs.plugins.openapi.generator)
66
}
77

8+
// Needed for security. See:
9+
// - https://github.com/getyourguide/openapi-validation-java/security/dependabot/7
10+
// - https://github.com/getyourguide/openapi-validation-java/security/dependabot/6
11+
// Hopefully with spring-boot 3.4.2+ this won't be needed anymore and can be removed.
12+
dependencyManagement {
13+
dependencies {
14+
dependency 'ch.qos.logback:logback-core:1.5.15'
15+
dependency 'ch.qos.logback:logback-classic:1.5.15'
16+
}
17+
}
18+
819
dependencies {
920
implementation project(':examples:examples-common')
1021
implementation project(':spring-boot-starter:spring-boot-starter-webflux')

0 commit comments

Comments
 (0)