Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow package exclusion for ConfigureShadowRelocation #555

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ward-eric
Copy link

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 ward-eric changed the title Allow package exclusive for ConfigureShadowRelocation Allow package exclusion for ConfigureShadowRelocation May 12, 2020
@heychazza
Copy link

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

@zinking
Copy link
Contributor

zinking commented Jun 24, 2022

can this be revived and merged ?
@ward-eric

@samotoo
Copy link

samotoo commented Jan 11, 2023

Any chance to merge it to main branch?

@Goooler Goooler deleted the branch GradleUp:main July 28, 2024 13:54
@Goooler Goooler closed this Jul 28, 2024
@Goooler Goooler reopened this Jul 28, 2024
@Goooler Goooler changed the base branch from master to main July 28, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants