09/04/2015, 5:34 PM
So I was actually fixing up my patch to only shade external jar dependencies individually if they (1) aren’t bundled into the output jar, and (2) their shading pattern depends on the jar id. Because it actually is about 2x faster if you can run one shading step against the whole monolithic jar. A separate shading step for individual external dependencies could thus potentially slow things down, but the artifact cache would obviously help a lot on incremental builds.