This message was deleted.
# community-support
s
This message was deleted.
๐Ÿงต 1
v
Please do not split topics across several threads. This makes following the conversation in the threads view very hard as the context of the other messages is missing. If you have additional information either edit the original message or post to its thread.
What the hell is wrong with Gradle?
Nothing, what the hell is wrong with you? ๐Ÿ˜‰ Can you provide full error, or optimally a build
--scan
?
t
Just a reminder that Gradle cannot be run with Java 21 yet (unless you're on 8.5-rc-1 already; https://docs.gradle.org/8.5-rc-1/userguide/compatibility.html#java). You need to run Gradle with Java <= 20 and use toolchains to get the
JavaCompile
and
Test
(and
JavaExec
if you explicitly configure them: https://github.com/gradle/gradle/issues/16791) to themselves run with Java 21.
v
"cannot" is too strong, it heavily depends on the build whether it works. For some builds it works. ๐Ÿ™‚ It is just not officially supported.