Running CurseForgeGradle with the previous settings (7.4.2) with Java 21 throws java.lang.IllegalArgumentException: Unsupported class file major version 65.
Updating gradle to 8.7 makes it compatible with Java 21, used in Minecraft 1.20.5. Up provided the solution via Discord :)
The gradle version is needed in the environment where it's ran, not necessarily the plugin itself. The example might need updating, but this doesn't look like it's necessary. Closing for now
Running CurseForgeGradle with the previous settings (
7.4.2
) with Java 21 throwsjava.lang.IllegalArgumentException: Unsupported class file major version 65
.Updating gradle to 8.7 makes it compatible with Java 21, used in Minecraft 1.20.5. Up provided the solution via Discord :)