From dea7fa09ffb603b90e2ad1de44f7fdaa36fcc592 Mon Sep 17 00:00:00 2001 From: sanjaypujare Date: Thu, 20 Jul 2023 10:20:10 -0700 Subject: [PATCH] core, services, util: export util from core and move gson dep to services for the checkUpperBoundDeps error (#10390) --- core/BUILD.bazel | 2 +- services/build.gradle | 4 ++-- util/build.gradle | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/core/BUILD.bazel b/core/BUILD.bazel index a4c1b29612..ebe5b64c27 100644 --- a/core/BUILD.bazel +++ b/core/BUILD.bazel @@ -49,6 +49,6 @@ java_library( exports = [ ":internal", "//api", - "//inprocess", + "//util", ], ) diff --git a/services/build.gradle b/services/build.gradle index 73cb90d184..57e3319200 100644 --- a/services/build.gradle +++ b/services/build.gradle @@ -24,8 +24,8 @@ dependencies { libraries.guava.jre // JRE required by protobuf-java-util 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 testImplementation project(':grpc-testing'), libraries.netty.transport.epoll, // for DomainSocketAddress diff --git a/util/build.gradle b/util/build.gradle index ffc3e80fbe..b1babf60b3 100644 --- a/util/build.gradle +++ b/util/build.gradle @@ -13,7 +13,6 @@ dependencies { implementation libraries.animalsniffer.annotations, libraries.guava - runtimeOnly libraries.gson // to fix checkUpperBoundDeps error in services testImplementation testFixtures(project(':grpc-api')), testFixtures(project(':grpc-core')), project(':grpc-testing')