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
This commit is contained in:
@@ -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"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user