Closed snazy closed 10 months ago
rebased + fixed CI
@melix do you know when there'll be a release with this change?
@snazy Could you support the official update? We land it, see https://github.com/GradleUp/shadow/releases/tag/8.3.0
@Goooler on it
@Goooler #267 is the PR
The shadow-plugin (ID
com.github.johnrengelman.shadow
) is currently rather unmaintained (last change in March/April 2023 as of January 2024) and already has a bunch of issues, especially with newer Gradle versions (8.2+) and when the included classes are built for Java 21 or newer (class file version 65+). This is problematic when using Java 21 directly or including a recent version of jackson-core, which is a multi-release jar that contains Java 21 classes.There is a fork of the shadow plugin (ID
io.github.goooler.shadow
) that works against newer Gradle versions and Java 21. That one however is not recognized by the jmh plugin, which only check against the "original" plugin ID.This change adds support for the forked plugin, one line change in the production code, other changes are readme and tests.