Skip to content

Commit

Permalink
Directly depend on errorprone when used in the project instead of rel…
Browse files Browse the repository at this point in the history
…ying on Guava's transitive dep
  • Loading branch information
ejona86 committed Jun 7, 2021
1 parent 3da5c42 commit 1052e18
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
3 changes: 2 additions & 1 deletion api/build.gradle
Expand Up @@ -13,7 +13,8 @@ evaluationDependsOn(project(':grpc-context').path)
dependencies {
api project(':grpc-context'),
libraries.jsr305
implementation libraries.guava
implementation libraries.guava,
libraries.errorprone

testImplementation project(':grpc-context').sourceSets.test.output,
project(':grpc-testing'),
Expand Down
6 changes: 0 additions & 6 deletions examples/pom.xml
Expand Up @@ -51,12 +51,6 @@
<artifactId>protobuf-java-util</artifactId>
<version>${protobuf.version}</version>
</dependency>
<!-- Override protobuf-java-util's older error prone for requireUpperBoundDeps -->
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
<version>2.4.0</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>annotations-api</artifactId>
Expand Down
1 change: 1 addition & 0 deletions netty/build.gradle
Expand Up @@ -20,6 +20,7 @@ dependencies {
libraries.netty
implementation libraries.netty_proxy_handler,
libraries.guava,
libraries.errorprone,
libraries.perfmark

// Tests depend on base class defined by core module.
Expand Down

0 comments on commit 1052e18

Please sign in to comment.