File tree Expand file tree Collapse file tree 1 file changed +6
-13
lines changed
gradle/plugins/publishing Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -7,19 +7,12 @@ plugins {
77dependencies {
88 implementation(" junitbuild.base:dsl-extensions" )
99 implementation(libs.plugins.jreleaser.markerCoordinates)
10- }
11-
12- configurations.configureEach {
13- resolutionStrategy {
14- eachDependency {
15- // Workaround for CVE-2025-4949
16- if (requested.name == " org.eclipse.jgit" ) {
17- useVersion(" 6.10.1.202505221210-r" )
18- }
19- // Workaround for CVE-2020-36843
20- if (requested.name == " sshj" ) {
21- useVersion(" 0.40.0" )
22- }
10+ constraints {
11+ implementation(" com.hierynomus:sshj:0.40.0" ) {
12+ because(" Workaround for CVE-2020-36843" )
13+ }
14+ implementation(" org.eclipse.jgit:org.eclipse.jgit:6.10.1.202505221210-r" ) {
15+ because(" Workaround for CVE-2025-4949" )
2316 }
2417 }
2518}
You can’t perform that action at this time.
0 commit comments