Gradle 8.11.1 fails to build with Java 24 due to unsupported class file version 68, causing a semantic analysis error.

We’re currently using Java 24, which introduces a new class file major version 68.
However, our build is failing due to a semantic analysis error, as our current Gradle version (8.11.1) does not yet support this class file version.

Has anyone encountered this issue or found a workaround? Any insights on when Gradle might add support for Java 24 would be appreciated.

8.14 added support for running on Java 24: Compatibility Matrix