aloof-angle-91616
09/11/2018, 12:14 AMbundle
does a lot more than compilation, it packs e.g. all the resources that the target depends on into a single jar, including anything specified with the bundles
keyword argument (e.g. for jvm_app()
targets). if you bundle a lot of other files into a jvm_app()
target, just copying and compressing those could take some time. i also don't believe the output of bundle
is cached, since the output is usually just to a file in the dist/
directory (which will be created if it doesn't exist). there's no reason it couldn't be, though -- what are you using the bundle
goal for? if you haven't yet, i'd check out this page on the docsite (https://www.pantsbuild.org/jvm_projects.html#jvm_bundles)