File tree Expand file tree Collapse file tree 3 files changed +19
-22
lines changed
example-spring-boot-starter-webflux
example-spring-boot-starter-web Expand file tree Collapse file tree 3 files changed +19
-22
lines changed Original file line number Diff line number Diff line change @@ -78,4 +78,23 @@ subprojects {
78
78
consoleOutput = true
79
79
ruleSets = [" $rootDir /ruleset.xml" ]
80
80
}
81
+
82
+ // Needed for security. See:
83
+ // - https://github.com/getyourguide/openapi-validation-java/security/dependabot/7
84
+ // - https://github.com/getyourguide/openapi-validation-java/security/dependabot/6
85
+ // Hopefully with spring-boot 3.4.2+ this won't be needed anymore and can be removed.
86
+ configurations. configureEach {
87
+ resolutionStrategy. eachDependency {details ->
88
+ if (details. requested. group == ' ch.qos.logback'
89
+ && (details. requested. name == ' logback-core' || details. requested. name == ' logback-classic' )
90
+ ) {
91
+ def parse = { String v -> v. tokenize(' .' ). collect { it. padLeft(3 , ' 0' ) }. join() }
92
+ def current = parse(details. requested. version)
93
+ def minimum = parse(' 1.5.15' )
94
+ if (current < minimum) {
95
+ details. useVersion ' 1.5.15'
96
+ }
97
+ }
98
+ }
99
+ }
81
100
}
Original file line number Diff line number Diff line change @@ -5,17 +5,6 @@ plugins {
5
5
alias(libs. plugins. openapi. generator)
6
6
}
7
7
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
-
19
8
dependencies {
20
9
implementation project(' :examples:examples-common' )
21
10
implementation project(' :spring-boot-starter:spring-boot-starter-web' )
Original file line number Diff line number Diff line change @@ -5,17 +5,6 @@ plugins {
5
5
alias(libs. plugins. openapi. generator)
6
6
}
7
7
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
-
19
8
dependencies {
20
9
implementation project(' :examples:examples-common' )
21
10
implementation project(' :spring-boot-starter:spring-boot-starter-webflux' )
You can’t perform that action at this time.
0 commit comments