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 @@ -8,19 +8,12 @@ plugins {
88dependencies {
99 implementation(" junitbuild.base:dsl-extensions" )
1010 implementation(libs.plugins.jreleaser.markerCoordinates)
11- }
12-
13- configurations.configureEach {
14- resolutionStrategy {
15- eachDependency {
16- // Workaround for CVE-2025-4949
17- if (requested.name == " org.eclipse.jgit" ) {
18- useVersion(" 6.10.1.202505221210-r" )
19- }
20- // Workaround for CVE-2020-36843
21- if (requested.name == " sshj" ) {
22- useVersion(" 0.40.0" )
23- }
11+ constraints {
12+ implementation(" com.hierynomus:sshj:0.40.0" ) {
13+ because(" Workaround for CVE-2020-36843" )
14+ }
15+ implementation(" org.eclipse.jgit:org.eclipse.jgit:6.10.1.202505221210-r" ) {
16+ because(" Workaround for CVE-2025-4949" )
2417 }
2518 }
2619}
You can’t perform that action at this time.
0 commit comments