Skip to content

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

@peterzhuamazon

Description

@peterzhuamazon

[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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    In Progress

    Status

    🏗 In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions