Skip to content

Commit

Permalink
Enforce up-to-date Guava in buildSrc (#9335)
Browse files Browse the repository at this point in the history
Guava is a transitive dependency of spotless via google-java-format, the version that was being pulled in has CVE-2023-2976.
While this would not affect end users it causes excess alerts.

Signed-off-by: Thomas Farr <[email protected]>
  • Loading branch information
Xtansia authored Aug 15, 2023
1 parent 9dca96d commit 1342578
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ dependencies {
}
}

configurations.all {
resolutionStrategy {
force "com.google.guava:guava:${props.getProperty('guava')}"
}
}

/*****************************************************************************
* Bootstrap repositories *
*****************************************************************************/
Expand Down

0 comments on commit 1342578

Please sign in to comment.