mirror of https://github.com/grpc/grpc-java.git
core, services, util: export util from core and move gson dep to services for the checkUpperBoundDeps error (#10390)
This commit is contained in:
parent
3f60746a98
commit
dea7fa09ff
|
|
@ -49,6 +49,6 @@ java_library(
|
||||||
exports = [
|
exports = [
|
||||||
":internal",
|
":internal",
|
||||||
"//api",
|
"//api",
|
||||||
"//inprocess",
|
"//util",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue