[ https://issues.apache.org/jira/browse/IGNITE-22289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17848243#comment-17848243 ]
Mikhail Pochatkin commented on IGNITE-22289: -------------------------------------------- Merged to main 18434f2b376b8b15dba92ade85903f77bfd07392 > Migrate shadowJar plugin to the new fork > ---------------------------------------- > > Key: IGNITE-22289 > URL: https://issues.apache.org/jira/browse/IGNITE-22289 > Project: Ignite > Issue Type: Task > Components: build > Reporter: Viacheslav Blinov > Assignee: Viacheslav Blinov > Priority: Major > Labels: ignite-3 > Fix For: 3.0.0-beta2 > > Time Spent: 0.5h > Remaining Estimate: 0h > > * 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 -- This message was sent by Atlassian Jira (v8.20.10#820010)