OpenKeeper icon indicating copy to clipboard operation
OpenKeeper copied to clipboard

Unable to build with openjdk 25

Open txtsd opened this issue 1 month ago • 1 comments


Welcome to Gradle 9.1.0!

Here are the highlights of this release:
 - Full Java 25 support
 - Native task graph visualization
 - Enhanced console output

For more details see https://docs.gradle.org/9.1.0/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

> Configure project :
Build file '/build/openkeeper-git/src/OpenKeeper/build.gradle': line 40
The archives configuration has been deprecated for artifact declaration. This will fail with an error in Gradle 10. Add artifacts as direct task dependencies of the 'assemble' task instead of declaring them in the archives configuration. Consult the upgrading guide for further information: https://docs.gradle.org/9.1.0/userguide/upgrading_version_9.html#sec:archives-configuration
	at build_4i2iod0i7qwzplln97dhjdzdx$_run_closure5.doCall$original(/build/openkeeper-git/src/OpenKeeper/build.gradle:40)
	(Run with --stacktrace to get the full stack trace of this deprecation warning.)

[Incubating] Problems report is available at: file:///build/openkeeper-git/src/OpenKeeper/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* Where:
Build file '/build/openkeeper-git/src/OpenKeeper/build.gradle' line: 91

* What went wrong:
A problem occurred evaluating root project 'OpenKeeper'.
> Class org.gradle.jvm.toolchain.JvmVendorSpec does not have member field 'org.gradle.jvm.toolchain.JvmVendorSpec IBM_SEMERU'

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.

BUILD FAILED in 15s

txtsd avatar Nov 07 '25 05:11 txtsd

The issue might be due to incompatibility between the Lombok plugin version and Java. You can try updating the plugin version to id 'io.freefair.lombok' version '8.14.2' or a newer

ArchDemons avatar Nov 08 '25 07:11 ArchDemons