Skip to content

Commit

Permalink
okhttp: Make grpc-util an implementation dependency
Browse files Browse the repository at this point in the history
This prevents grpc-util from being exposed on the classpath when
compiling code using grpc-okhttp. grpc-core is still needed because of
AbstractManagedChannelImplBuilder.
  • Loading branch information
ejona86 committed Sep 29, 2023
1 parent 1d03bb8 commit 2cbc290
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions okhttp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ tasks.named("jar").configure {
}

dependencies {
api project(':grpc-util')
implementation libraries.okio,
api project(':grpc-core')
implementation project(':grpc-util'),
libraries.okio,
libraries.guava,
libraries.perfmark.api
// Make okhttp dependencies compile only
Expand Down

0 comments on commit 2cbc290

Please sign in to comment.