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

Use JJProcessor from jarjar-abrams #47

Merged
merged 1 commit into from
May 23, 2024
Merged

Conversation

williamyaoh
Copy link
Contributor

@williamyaoh williamyaoh commented May 23, 2024

Hello, I noticed that sbt-shading appears to be using the MainProcessor from jarjar, which means it doesn't shade Scala JARs properly, only Java JARs; the Scala metadata in the compiled classes ends up with the wrong package name. Since jarjar-abrams is already a dependency, would it be possible to change it to use the JJProcessor from jarjar-abrams instead?

@tgodzik
Copy link
Collaborator

tgodzik commented May 23, 2024

That looks like something I actually encountered in the wild. @alexarchambault what do you think about merging the change?

@alexarchambault
Copy link
Member

alexarchambault commented May 23, 2024

Sure, if that allows the Scala metadata to be updated, definitely

@alexarchambault
Copy link
Member

@tgodzik You have enough rights to merge and cut a release, right?

@tgodzik
Copy link
Collaborator

tgodzik commented May 23, 2024

Yes! I just wasn't super sure about the consequences of the change 😅

@tgodzik tgodzik merged commit f6473d6 into coursier:master May 23, 2024
2 checks passed
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.

None yet

3 participants