https://pantsbuild.org/ logo
#general
Title
# general
j

jolly-chef-92794

03/18/2016, 8:27 PM
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’],
)
?