Expected Behavior
Gradle 8 should run on Java 25, to have a Gradle version that can be run on the full 11-25 LTS spectrum.
Current Behavior (optional)
Version 8.14.3 fails with Java 25:
FAILURE: Build failed with an exception.
* What went wrong:
BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 69
> Unsupported class file major version 69
Context
I have several library projects where I have to build with Java 11 to be 100% sure that they are compatible with that version. I cannot just use --release there, because I use non-standard modules like jdk.xml.dom that aren't available if one uses that switch.
On those projects, I want to be able to also build with Java 25, for the benefit of people running the latest LTS.
Expected Behavior
Gradle 8 should run on Java 25, to have a Gradle version that can be run on the full 11-25 LTS spectrum.
Current Behavior (optional)
Version 8.14.3 fails with Java 25:
Context
I have several library projects where I have to build with Java 11 to be 100% sure that they are compatible with that version. I cannot just use
--releasethere, because I use non-standard modules likejdk.xml.domthat aren't available if one uses that switch.On those projects, I want to be able to also build with Java 25, for the benefit of people running the latest LTS.