Backing up a moment. If I understand, the structur...
# general
j
Backing up a moment. If I understand, the structure for this that you’d find agreeable would look like:
Copy code
jar_library(name=‘hadoop’,
  …
)
target(name=‘hadoop-for-libraries’,
  scope=‘compile’,
  transitive=False,
  dependencies=[‘:hadoop’],
)
target(name=‘hadoop-for-tests’,
  scope=’runtime’,
  dependencies=[‘:hadoop’],
)
java_library(name=‘lib’,
  dependencies=[‘:hadoop-for-libraries’],
)
junit_tests(name=‘test’,
  dependencies=[‘:hadoop-for-tests’],
)
?