Skip to content

Commit 65e661a

Browse files
authored
Merge pull request #153 from ivanauth/fix/dependency-convergence-complete
Fix remaining Maven dependency convergence issues
2 parents c76b9c9 + cb23ac6 commit 65e661a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

build.gradle

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ dependencies {
112112
exclude group: 'com.google.protobuf', module: 'protobuf-java-util'
113113
exclude group: 'com.google.code.gson', module: 'gson'
114114
exclude group: 'com.google.re2j', module: 're2j'
115+
exclude group: 'com.google.code.findbugs', module: 'annotations'
116+
exclude group: 'com.google.code.findbugs', module: 'jsr305'
115117
}
116118
// In the future this can probably be removed in favor of "protovalidate"
117119
// See https://buf.build/blog/protoc-gen-validate-v1-and-v2
@@ -123,10 +125,16 @@ dependencies {
123125
}
124126

125127
api "com.google.protobuf:protobuf-java:${protocVersion}"
126-
implementation "com.google.protobuf:protobuf-java-util:${protocVersion}"
127-
implementation "com.google.api.grpc:proto-google-common-protos:2.61.3"
128+
implementation("com.google.protobuf:protobuf-java-util:${protocVersion}") {
129+
exclude group: 'com.google.protobuf', module: 'protobuf-java'
130+
exclude group: 'com.google.code.gson', module: 'gson'
131+
}
132+
implementation("com.google.api.grpc:proto-google-common-protos:2.61.3") {
133+
exclude group: 'com.google.protobuf', module: 'protobuf-java'
134+
}
128135
implementation "com.google.code.gson:gson:2.11.0"
129136
implementation "com.google.re2j:re2j:1.8"
137+
implementation "com.google.code.findbugs:jsr305:3.0.2"
130138
}
131139

132140
// There is no pre-packaged JAR available that contains the gRPC Gateway proto files

0 commit comments

Comments
 (0)