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. Regarding the problem, are you authoring this Gradle build, or does Unity generate and run it for you? If the latter, then you should ask Unity support for help. If you are authoring that build, did you do what the error suggests you?
But actually, it seems you (or something you are using) is not Gradle 8 compatible. It uses the class
org.gradle.initialization.BuildCompletionListener
which was deprecated in Gradle 7 and removed in Gradle 8: https://github.com/gradle/gradle/commit/c382de0165e. So you need to either upgrade whatever you are using there, or downgrade Gradle.
k
Sorry, I will pay attention to the message rules from now on. I downloaded the latest version of Gradle (8.4) but it didn't solve my problem. I have the same problem with Unity's own version of gradle. I will test with a version lower than 7.0 and return again
v
Of course latest version does not solve it. 7.6.1 should solve it, or at least change the error. But anyway, you should never use any installed version to run a build, but always use its Gradle wrapper that makes sure you are using the correct Gradle version with which the build is known working with properly.