best-nightfall-7221
05/12/2021, 4:08 PMlibx=1.1
. I'd like to build the fatjar once with libx=1.1
and once with libx=1.2
.
I can think of 2 ways to do it:
a) At the top fatjar, exclude all libx dependencies, and then include the version I want
b) At every point in the tree, pass some flag (env variable?) so that it can switch between 1.1 and 1.2
And of course, I'd like to avoid the solution that requires a copy of all the BUILD
files. Thanks for any pointers.enough-analyst-54434
05/12/2021, 4:59 PM./pants binary
?best-nightfall-7221
05/12/2021, 4:59 PMenough-analyst-54434
05/12/2021, 5:00 PMbest-nightfall-7221
05/12/2021, 5:01 PMenough-analyst-54434
05/12/2021, 5:03 PMbest-nightfall-7221
05/12/2021, 5:03 PMenough-analyst-54434
05/12/2021, 5:03 PMenough-analyst-54434
05/12/2021, 5:04 PMbest-nightfall-7221
05/12/2021, 5:04 PMbest-nightfall-7221
05/12/2021, 5:04 PMenough-analyst-54434
05/12/2021, 5:05 PMenough-analyst-54434
05/12/2021, 5:07 PM[1.1,2)
for inclusive lower bound, exclusive upper? Looking ....enough-analyst-54434
05/12/2021, 5:10 PMenough-analyst-54434
05/12/2021, 5:10 PMbest-nightfall-7221
05/12/2021, 5:11 PMbest-nightfall-7221
05/12/2021, 5:11 PMenough-analyst-54434
05/12/2021, 5:13 PMenough-analyst-54434
05/12/2021, 5:13 PMenough-analyst-54434
05/12/2021, 5:13 PMbest-nightfall-7221
05/12/2021, 5:13 PMenough-analyst-54434
05/12/2021, 5:14 PM