'I can't create a project with libgdx

i'm trying to create a project with libgdx, but the console say this:

Generating app in C:\Users\Mio_PC\Desktop\p
Executing 'C:\Users\Mio_PC\Desktop\p/gradlew.bat clean --no-daemon'
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.3.3/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 
> Task :core:clean UP-TO-DATE
> Task :desktop:clean UP-TO-DATE

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings"

What happened? It's the first time that i see this error. I have installed jre-8u331 and jdk18



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source