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

Add relocator source exclusion #890

Merged
merged 10 commits into from
Dec 9, 2024

Conversation

luneo7
Copy link
Contributor

@luneo7 luneo7 commented Oct 11, 2023

This is mostly #780 remade =]

We need the ability to exclude sources from being relocated as we have gradle subprojects being included in shaded jar that is being caught in one relocator rule that we don't want it to be relocated.

Closes #780.

# Conflicts:
#	src/main/groovy/com/github/jengelman/gradle/plugins/shadow/impl/RelocatorRemapper.groovy
#	src/main/groovy/com/github/jengelman/gradle/plugins/shadow/relocation/SimpleRelocator.groovy
#	src/main/groovy/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowCopyAction.groovy
#	src/test/groovy/com/github/jengelman/gradle/plugins/shadow/relocation/SimpleRelocatorTest.groovy
@portlek
Copy link
Contributor

portlek commented Nov 29, 2024

can we also add 'includeSource' method similar to 'include' method?

@Goooler Goooler changed the base branch from main to luneo7/exclude-source December 9, 2024 02:57
…ude-source

// Conflicts:
//	src/main/groovy/com/github/jengelman/gradle/plugins/shadow/relocation/SimpleRelocator.groovy
//	src/test/groovy/com/github/jengelman/gradle/plugins/shadow/relocation/SimpleRelocatorTest.groovy
@Goooler Goooler merged commit 801e9eb into GradleUp:luneo7/exclude-source Dec 9, 2024
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.

4 participants