diff options
author | David Ostrovsky <david@ostrovsky.org> | 2018-10-13 10:01:22 +0200 |
---|---|---|
committer | David Ostrovsky <david@ostrovsky.org> | 2018-10-13 10:32:08 +0200 |
commit | f75879f709eb7170b7a9209b792aecd1ea5052d3 (patch) | |
tree | 8dc8ac7d4849b31a2968c13a1ce6b4c8706bed4b | |
parent | 5800a1002ca6c6b5a605a34027ede16eb475342d (diff) |
Bazel: Restrict jackson-core visibility to ES and plugin API
The visibility of jackson-core was already restricted to ES in
I27fc60caf51, but this was undone during merge of stable-2.15 into
master in I69847856636. Re-introduce the visibility constraint to make
sure, that no other parts of gerrit accidentally add the dependency on
jackson-core library.
Change-Id: I35a7657060abd46a09f6c11e088dc11f6b2e7338
-rw-r--r-- | lib/jackson/BUILD | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/jackson/BUILD b/lib/jackson/BUILD index 5c1519356e..e09f57e387 100644 --- a/lib/jackson/BUILD +++ b/lib/jackson/BUILD @@ -5,5 +5,9 @@ VERSION = "2.6.6" java_library( name = "jackson-core", data = ["//lib:LICENSE-Apache2.0"], + visibility = [ + "//java/com/google/gerrit/elasticsearch:__pkg__", + "//plugins:__pkg__", + ], exports = ["@jackson-core//jar"], ) |