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

[Release 3.0] Update com.github.johnrengelman.shadow to com.gradleup.shadow in gradle plugin #5267

Open
peterzhuamazon opened this issue Jan 27, 2025 · 0 comments

Comments

@peterzhuamazon
Copy link
Member

peterzhuamazon commented Jan 27, 2025

[Release 3.0] Update com.github.johnrengelman.shadow to com.gradleup.shadow in gradle plugin.

Recently johnrengelman.shadow has been transfered to gradleup.shadow, and newer versions of the plugin cannot be obtained on the old namespace anymore:

This means for a lot of the OpenSearch Plugins, on main/3.0 specifically, they need to update their build.gradle with changes like this:

Or they will see below issues:

* What went wrong:
A problem occurred evaluating project ':alerting-spi'.
> Failed to apply plugin 'com.github.johnrengelman.shadow'.
   > Configuration with name 'shadow' not found.

or

* What went wrong:
A problem occurred evaluating root project 'common-utils'.
> Could not find method shadowJar() for arguments [build_6j3x90usouen452sgho5nghbu$_run_closure11@3ca6e6bf] on root project 'common-utils' of type org.gradle.api.Project.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🏗 In progress
Status: In Progress
Development

No branches or pull requests

1 participant