Skip to content

Commit 9c2a719

Browse files
GSON: force 2.8.9
1 parent 16a5e7e commit 9c2a719

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ configurations {
3333
exclude group: 'net.jcip', module: 'jcip-annotations' // In google-findbugs-annotations.
3434
exclude group: 'org.springframework', module: 'spring-jcl' // In jcl-over-slf4j
3535
exclude group: 'commons-logging' // Replaced by jcl-over-slf4j
36+
resolutionStrategy {
37+
force 'com.google.code.gson:gson:2.8.9' // 2.8.7 has a security issue
38+
}
3639
}
3740
}
3841

@@ -68,6 +71,10 @@ dependencies {
6871
implementation "org.springframework:spring-jdbc:$springVersion"
6972
implementation "com.zaxxer:HikariCP:3.2.0"
7073
implementation "com.swrve:rate-limited-logger:2.0.0"
74+
75+
// 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
7178
implementation "com.google.cloud:google-cloud-bigquery:1.137.2"
7279

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

0 commit comments

Comments
 (0)