GradleUp / shadow

Gradle plugin to create fat/uber JARs, apply file transforms, and relocate packages for applications and libraries. Gradle version of Maven's Shade plugin.
https://www.gradleup.com/shadow/
Apache License 2.0
3.69k stars 389 forks source link

Redirect the old Maven coordinate to the new one #938

Closed Goooler closed 4 weeks ago

Goooler commented 1 month ago

Hi. Maven has a relocation mechanism which can be used for repositories: https://maven.apache.org/guides/mini/guide-relocation.html . The problem is that Gradle, as far as I know, does not support such a mechanism, so I am not sure it can actually be used automatically for Gradle plugins. It also requires a tombstone release to the original destination

Originally posted by @oleg-nenashev in https://github.com/renovatebot/renovate/discussions/30676#discussioncomment-10320920

Goooler commented 1 month ago

But what, I just realized that Shadow plugin was only published to Gradle Plugin Portal, so we can't relocate it from MavenCentral.

The only thing we can do from our side might be https://github.com/gradle/plugin-portal-requests/issues/233.

Goooler commented 4 weeks ago

See https://github.com/gradle/plugin-portal-requests/issues/233#issuecomment-2295907778.