Skip to content

Commit cc01a12

Browse files
protobuf-java: force version
1 parent 9c2a719 commit cc01a12

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

buildSrc/src/main/groovy/dwh-migration-dumper.java-common-conventions.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ configurations {
3535
exclude group: 'commons-logging' // Replaced by jcl-over-slf4j
3636
resolutionStrategy {
3737
force 'com.google.code.gson:gson:2.8.9' // 2.8.7 has a security issue
38+
force 'com.google.protobuf:protobuf-java:3.19.6' // first non-vulnerable > 3.17.x
3839
}
3940
}
4041
}
@@ -73,8 +74,10 @@ dependencies {
7374
implementation "com.swrve:rate-limited-logger:2.0.0"
7475

7576
// TODO: when we can upgrade google-cloud-bigquery to v2+ (involves
76-
// addressing breaking changes), remove the forced 2.8.9 version
77-
// for gson in resolutionStrategy above
77+
// addressing breaking changes), remove the following forced versions
78+
// from resolutionStrategy above:
79+
// - gson
80+
// - protobuf-java
7881
implementation "com.google.cloud:google-cloud-bigquery:1.137.2"
7982

8083
runtimeOnly "ch.qos.logback:logback-classic:$logbackVersion"

0 commit comments

Comments
 (0)