Skip to content

Commit

Permalink
deps: add j2objc annotations (#9005)
Browse files Browse the repository at this point in the history
* deps: add j2objc annotations

@pzd this will be needed on the next sync with google3
  • Loading branch information
elharo committed Sep 22, 2021
1 parent 15c40c6 commit a93074e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ maven_install(
artifacts = [
"com.google.code.gson:gson:2.8.6",
"com.google.errorprone:error_prone_annotations:2.3.2",
"com.google.j2objc:j2obj_annotations:1.3",
"com.google.guava:guava:30.1.1-jre",
"com.google.truth:truth:1.1.2",
"junit:junit:4.12",
Expand Down Expand Up @@ -73,6 +74,11 @@ bind(
actual = "@maven//:com_google_errorprone_error_prone_annotations",
)

bind(
name = "j2objc_annotations",
actual = "@maven//:com_google_j2objc_j2objc_annotations",
)

bind(
name = "junit",
actual = "@maven//:junit_junit",
Expand Down
1 change: 1 addition & 0 deletions java/util/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ java_library(
visibility = ["//visibility:public"],
deps = [
"//external:error_prone_annotations",
"//external:j2objc_annotations",
"//external:gson",
"//external:guava",
"//java/core",
Expand Down
5 changes: 5 additions & 0 deletions java/util/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
<artifactId>error_prone_annotations</artifactId>
<version>2.5.1</version>
</dependency>
<dependency>
<groupId>com.google.j2objc</groupId>
<artifactId>j2objc-annotations</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava-testlib</artifactId>
Expand Down

0 comments on commit a93074e

Please sign in to comment.