build script fails on j21 #15040
Labels
Comment to reopen
Comment with a good reason to re-open and a Developer will consider it
Status: stale
Status: Triage
Tasks awaiting triage. Removed once a dev confirms the issue as valid.
Type: bugMinor
Your GTNH Discord Username
bombcar
Your Pack Version
2.4.2-252
Your Server
SP
Java Version
Java 21
Type of Server
Single Player
Your Expectation
be able to build gt5u on java 21
also happend to Grayduster: https://discord.com/channels/181078474394566657/401118216228831252/1182546813706846329
The Reality
It blows up in spotless - see https://scans.gradle.com/s/vzanrluvsxktc
Apparently this is fixed here diffplug/spotless#1920
BUT build.gradle says
id 'com.diffplug.spotless' version '6.13.0' apply false // 6.13.0 is the last jvm8 supporting version
Your Proposal
Well, I changed it to
id 'com.diffplug.spotless' version '6.23.3' apply false // 6.13.0 is the last jvm8 supporting version
and it build just fine https://scans.gradle.com/s/zpo4j6ivwfxugSo maybe we deprecate j8 compilation and move spotless forward, or is there a way to swap versions of spotless depending on the compiler?
do we ASM gradle?‽!‽
Final Checklist
The text was updated successfully, but these errors were encountered: