aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/BUILD')
-rw-r--r--third_party/BUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/BUILD b/third_party/BUILD
index cf939fb7ea..9ea3ca6c04 100644
--- a/third_party/BUILD
+++ b/third_party/BUILD
@@ -422,6 +422,15 @@ filegroup(
srcs = ["guava/guava-24.1-jre.jar"],
)
+# javax.annotation.Generated is not included in the default root modules in 9,
+# see: http://openjdk.java.net/jeps/320.
+java_import(
+ name = "javax_annotations",
+ jars = ["javax_annotations/javax.annotation-api-1.3.2.jar"],
+ neverlink = 1, # @Generated is source-retention
+ srcjar = "javax_annotations/javax.annotation-api-1.3.2-sources.jar",
+)
+
java_import(
name = "jgit",
jars = ["jgit/org.eclipse.jgit-4.10.0.201712302008-r.jar"],