build script fails on j21 #15040
Labels
Bug: Minor
Status: Stale
Automatically close this issue in 2 weeks if there are no new responses
Status: Triage
Issue awaiting triage. Remove once this issue is processed
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: