brief-engineer-67497
11/09/2018, 3:59 PMa which declare b1 and b2 as dependencies (where b1 andb b2 are ScalaLibrary with source in my mono repo). I managed to duplicate the logic that compute the directory where class files of b1 and b2 will be put but I cannot find how the classpath for the compilation of b1 and b2 is computed.
This raise a more general question on how pants works. When I look at JavacCompile task, it executes itself on a collection of target it finds in its context.
Hence, when I say ./pants compile path/to/my/library it does not direcly translate to the call of some def compile(target) function. I wonder how much meta data is gathered on targets before calling the desired task.