Don't include transitive gerrit core dependencies in plugin

Change-Id: I676df6b29ab1479a1afc192c4e9d87dfd69e79ab
diff --git a/BUILD b/BUILD
index 6c01622..15ee7ed 100644
--- a/BUILD
+++ b/BUILD
@@ -16,24 +16,26 @@
         "Gerrit-Module: com.googlesource.gerrit.plugins.xdocs.Module",
         "Gerrit-InitStep: com.googlesource.gerrit.plugins.xdocs.XDocInit",
     ],
+    provided_deps = [
+        "@commons_codec//jar:neverlink",
+        "@commons_lang//jar:neverlink",
+        "@guava//jar:neverlink",
+        "@log_api//jar:neverlink",
+        "@org_antlr//jar:neverlink",
+    ],
     resources = glob(["src/main/**/*"]),
     deps = [
         ":avalon_framework_lib",
         ":xmlgraphics_lib",
         "@asciidoctor//jar",
-        "@commons_codec//jar",
         "@commons_io//jar",
-        "@commons_lang//jar",
         "@daisydiff//jar",
         "@docx4j//jar",
-        "@guava//jar",
         "@jaxb_svg11//jar",
         "@jaxb_xmldsig_core//jar",
         "@jaxb_xslfo//jar",
         "@jruby//jar",
-        "@log_api//jar",
         "@mbassador//jar",
-        "@org_antlr//jar",
         "@poi//jar",
         "@poi_scratchpad//jar",
         "@serializer//jar",