Upgrading from 8.14.3 to 9.0.0, now my Github Acti...
# community-support
g
Upgrading from 8.14.3 to 9.0.0, now my Github Actions fail, encountering:
Copy code
Class org.gradle.jvm.toolchain.JvmVendorSpec does not have member field 'org.gradle.jvm.toolchain.JvmVendorSpec IBM_SEMERU'
What am I running into? In
build.gradle
I have declared:
Copy code
java {
    toolchain {
        languageVersion = JavaLanguageVersion.of(24)
        vendor = JvmVendorSpec.GRAAL_VM
    }
}
v
Well, while running on 8.14.3 you get a deprecation warning, you need to (should) fix all those before upgrading to the next major version.
Where it is coming from or now the error you can see from the stacktrace if it is not your buildscript that uses it.
t
your problem might be quite likely that you are using org.gradle.toolchains.foojay-resolver-(conventions) somewhere and you need to update to the latest version (1.0.0)
👆 1
til 1
g
Found and fixed it! It was indeed the
org.gradle.toolchains.foojay-resolver-convention
in
settings.gradle
that needed to be bumped to 1.0.0. Thanks for the hints!
👌 1