Skip to content

Commit

Permalink
Note reasons for constraints with Gradle norms
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlwilson committed May 17, 2024
1 parent b321ab1 commit dcfe240
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,12 @@ dependencies {
implementation project.deps.kubernetesClientApi
runtimeOnly group: 'io.fabric8', name: 'kubernetes-client', version: project.versions.kubernetesClientApi
constraints {
// Force upgrade transitive dependencies of fabric client to versions without vulnerabilities
implementation 'com.squareup.okhttp3:okhttp:3.14.9'
implementation 'com.squareup.okio:okio:1.17.6'
implementation('com.squareup.okhttp3:okhttp:3.14.9') {
because 'Fabric Client uses an older version with vulnerable dependencies'
}
implementation('com.squareup.okio:okio:1.17.6') {
because 'Fabric Client uses an older version with vulnerable dependencies'
}
}

runtimeOnly group: 'org.bouncycastle', name: 'bcpkix-jdk18on', version: '1.78.1'
Expand Down

0 comments on commit dcfe240

Please sign in to comment.