Skip to content

Commit

Permalink
Bazel: Add dependency to error_prone_annotations
Browse files Browse the repository at this point in the history
Recently dependency to error_prone_annotations was added to the code,
but only Maven build tool chain was updated.

Closes #5795.
  • Loading branch information
davido authored and acozzette committed Mar 8, 2019
1 parent e75a689 commit 35c9a5f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,7 @@ java_library(
visibility = ["//visibility:public"],
deps = [
"protobuf_java",
"//external:error_prone_annotations",
"//external:gson",
"//external:guava",
],
Expand Down
10 changes: 10 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,13 @@ bind(
name = "gson",
actual = "@gson_maven//jar",
)

maven_jar(
name = "error_prone_annotations_maven",
artifact = "com.google.errorprone:error_prone_annotations:2.3.2",
)

bind(
name = "error_prone_annotations",
actual = "@error_prone_annotations_maven//jar",
)

0 comments on commit 35c9a5f

Please sign in to comment.