shadow icon indicating copy to clipboard operation
shadow copied to clipboard

Allow package exclusion for ConfigureShadowRelocation

Open ward-eric opened this issue 5 years ago • 3 comments

We've got a use case where we'd like to relocate all of our dependencies with 2 exceptions:

  1. We have internal dependencies that contain a package that also exists in the project that is the target of shadowJar. This causes all of the classes in that package to be relocated, which we don't want.
  2. We have another library that is a thin wrapper around a 3rd party library. We'd like to relocate all of the dependencies of this wrapper except for the specific 3rd party library.

Instead of using relocate and having to explicitly list all of the packages to include we'd rather use ConfigureShadowRelocation and explicitly exclude the 2 packages we don't want relocated.

ward-eric avatar Mar 18 '20 18:03 ward-eric

I'm looking for this exact thing! Any update with it?

entity avatar Mar 29 '22 18:03 entity

can this be revived and merged ? @ward-eric

zinking avatar Jun 24 '22 04:06 zinking

Any chance to merge it to main branch?

samotoo avatar Jan 11 '23 12:01 samotoo

Closed due to #1094.

Goooler avatar Jan 11 '25 16:01 Goooler