early-needle-54791
11/22/2019, 7:35 PMaloof-angle-91616
11/22/2019, 7:36 PM./pants binary zinc:compiler
, and then add a jar lib to BUILD.toolsearly-needle-54791
11/22/2019, 7:36 PMaloof-angle-91616
11/22/2019, 7:37 PMjar_library(
name='zinc',
jars=[jar(org=..., name=..., rev='???', url='file:///path/to/pants/dist/compiler.jar', mutable=True)],
)
url
is misspelled, it will mysteriously still try to resolve itwitty-crayon-22786
11/22/2019, 7:39 PMaloof-angle-91616
11/22/2019, 7:39 PMearly-needle-54791
11/22/2019, 7:40 PMJarDependency('org.pantsbuild', 'zinc-compiler_2.12', _ZINC_COMPILER_VERSION)
aloof-angle-91616
11/22/2019, 7:40 PMearly-needle-54791
11/22/2019, 7:40 PMzinc-compiler_2.12
aloof-angle-91616
11/22/2019, 7:40 PMearly-needle-54791
11/22/2019, 7:40 PMwitty-crayon-22786
11/22/2019, 7:40 PMaloof-angle-91616
11/22/2019, 7:40 PMscala_jar
jar
witty-crayon-22786
11/22/2019, 7:42 PMearly-needle-54791
11/22/2019, 7:42 PMaloof-angle-91616
11/22/2019, 7:42 PMearly-needle-54791
11/22/2019, 7:43 PMwitty-crayon-22786
11/22/2019, 7:55 PMearly-needle-54791
11/22/2019, 7:59 PMaloof-angle-91616
11/22/2019, 8:00 PMdist/
is the same as the target name, hence ./pants binary zinc:compiler
producing compiler.jar