File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,3 +11,16 @@ dependencies {
1111 implementation ' de.undercouch:gradle-download-task:5.0.2'
1212 implementation ' com.github.ben-manes:gradle-versions-plugin:0.42.0'
1313}
14+
15+ configurations. all {
16+ resolutionStrategy {
17+ // openapi-generator 6.6.0 ships jackson-databind 2.14.0 which is missing NativeImageUtil.isInNativeImage(),
18+ // required by owasp-dependencycheck 12.2.2+ via parent classloader delegation.
19+ // Pin jackson-dataformat-yaml and snakeyaml explicitly to prevent collateral upgrades.
20+ force ' com.fasterxml.jackson.core:jackson-databind:2.18.2'
21+ force ' com.fasterxml.jackson.core:jackson-core:2.18.2'
22+ force ' com.fasterxml.jackson.core:jackson-annotations:2.18.2'
23+ force ' com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.14.0'
24+ force ' org.yaml:snakeyaml:1.33'
25+ }
26+ }
You can’t perform that action at this time.
0 commit comments