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

brief-engineer-67497

12/04/2018, 11:03 AM
so I just added
Copy code
@classmethod
    def prepare(cls, options, round_manager):
        super(ScalaPBGen, cls).prepare(options, round_manager)
        round_manager.require_data(JarImportProducts)
but it does not seem to fix it
solved ! comparing with java_protobuf_library, the problem was in the target ! I needed to uses
imports
instead of
dependencies
🔥 1
a

aloof-angle-91616

12/05/2018, 8:28 PM
did you find that by checking the code? i can see
imports
in that target's source file but it seems like this would be hard to figure out without documentation?
b

brief-engineer-67497

12/06/2018, 9:06 PM
yeah I compared my code with the working example and looked out for the differences
2 Views