facebook / buck

A fast build system that encourages the creation of small, reusable modules over a variety of platforms and languages.
https://buck.build
Apache License 2.0
8.56k stars 1.16k forks source link

How to deal with two same 3rd party dependencies with different version? #2571

Open ywang170 opened 3 years ago

ywang170 commented 3 years ago

I'm using Java

Say //A depends on a library //B and a 3rd party library libX-1.0

And //B now is adding a dependency of libX-2.0

It seems to make //A has both libX-1.0 and libX-2.0 as deps, and it breaks the code