maven_jar: Reduce visibility of intermediate artifacts
I6168fda0 was trying to provide a workaround for java_doc() rule to not being able to resolve the location of java_library with exported dependencies only. The workaround idea was to make intermediate artifacts visible in maven_jar() definition and use them instead of java_libraries with exported dependencies only. Iab67dff9 solved the problem by replacing $(location :foo) macro with $(classpath :foo) macro. That made the workaround in I6168fda0 not necessary any more, so that it can be removed. Change-Id: I7c5322e9f7dafec0359a5bac452285a89e5e8103
This commit is contained in:
@@ -132,7 +132,6 @@ def maven_jar(
|
||||
deps = deps + license,
|
||||
binary_jar = ':%s__download_bin' % name,
|
||||
source_jar = ':%s__download_src' % name if srcjar else None,
|
||||
visibility = visibility,
|
||||
)
|
||||
java_library(
|
||||
name = name,
|
||||
|
Reference in New Issue
Block a user