Skip to content

Relocate no longer works as of 9.3.0 #1894

@NonSwag

Description

@NonSwag

Expected and Results

Relocate should still work in 9.3.0 but throws an error

Caused by: java.lang.NoSuchMethodError: 'void org.objectweb.asm.commons.Remapper.<init>(int)'

Related environment and versions

  • gradle 9.4.0-milestone-4
  • shadow 9.3.0

Reproduction steps

  1. Add shadow 9.3.0 to your project
  2. Relocate a package in tasks.shadowJar
  3. run shadowJar

Anything else?

https://pastebin.com/BwkBPeRJ

9.2.2 works as expected

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions