core, services, util: export util from core and move gson dep to services for the checkUpperBoundDeps error (#10390)

This commit is contained in:
sanjaypujare 2023-07-20 10:20:10 -07:00 committed by GitHub
parent 3f60746a98
commit dea7fa09ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View File

@ -49,6 +49,6 @@ java_library(
exports = [ exports = [
":internal", ":internal",
"//api", "//api",
"//inprocess", "//util",
], ],
) )

View File

@ -24,8 +24,8 @@ dependencies {
libraries.guava.jre // JRE required by protobuf-java-util libraries.guava.jre // JRE required by protobuf-java-util
runtimeOnly libraries.errorprone.annotations, runtimeOnly libraries.errorprone.annotations,
libraries.j2objc.annotations // Explicit dependency to keep in step with version used by guava libraries.j2objc.annotations, // Explicit dependency to keep in step with version used by guava
libraries.gson // to fix checkUpperBoundDeps error here
compileOnly libraries.javax.annotation compileOnly libraries.javax.annotation
testImplementation project(':grpc-testing'), testImplementation project(':grpc-testing'),
libraries.netty.transport.epoll, // for DomainSocketAddress libraries.netty.transport.epoll, // for DomainSocketAddress

View File

@ -13,7 +13,6 @@ dependencies {
implementation libraries.animalsniffer.annotations, implementation libraries.animalsniffer.annotations,
libraries.guava libraries.guava
runtimeOnly libraries.gson // to fix checkUpperBoundDeps error in services
testImplementation testFixtures(project(':grpc-api')), testImplementation testFixtures(project(':grpc-api')),
testFixtures(project(':grpc-core')), testFixtures(project(':grpc-core')),
project(':grpc-testing') project(':grpc-testing')