Viacheslav Blinov created IGNITE-22289:
------------------------------------------
Summary: Migrate shadowJar plugin to the new fork
Key: IGNITE-22289
URL: https://issues.apache.org/jira/browse/IGNITE-22289
Project: Ignite
Issue Type: Task
Environment: * Sometimes build fails with this error:
{{java.lang.IllegalArgumentException: Unsupported class file major version 65}}
* Found a related PR and a few issues in shadowjar plugin repository:
[https://github.com/johnrengelman/shadow/pull/876]
* Looks like problem is caused by compatibility between shadowJar, Gradle and
asm library that shadowJar uses to alter classes
* There is a workaround for this issue which is to bump the asm version used
by shadowJar plugin
* ShadowJar plugin we are using doesn’t target Gradle 8.6 we are using, and
has no releases for the last year. Meanwhile usually it requires new releases
with new versions of Gradle and asm due to it’s fragile nature
* ShadowJar plugin we are using is not maintained anymore, see
[https://github.com/johnrengelman/shadow/issues/908]
* There is a fork of this plugin [https://github.com/Goooler/shadow] which
fixes all the issues mentioned above
Reporter: Viacheslav Blinov
--
This message was sent by Atlassian Jira
(v8.20.10#820010)