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

witty-crayon-22786

06/05/2017, 9:15 PM
@bright-apartment-76721 : so, to be clear: there is already an abstraction of sorts, in that they all use the
BinaryUtil
Subsystem to get a handle to the base urls and then fetch things:
Copy code
src/python/pants//backend/codegen/protobuf/java/protobuf_gen.py:from pants.binaries.binary_util import BinaryUtil
src/python/pants//backend/codegen/protobuf/java/protobuf_gen.py:    return super(ProtobufGen, cls).subsystem_dependencies() + (BinaryUtil.Factory,)