Problem with the cmd

I wanted to do a minecraft mod and I put gradlew setupDecompWorkspace in cmd and got this error:
FAILURE: Build failed with an exception.

  • What went wrong:
    Task ‘setupDecompWorkspace’ not found in root project ‘Phartnexium’.

  • Try:
    Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

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 Command-Line Interface

BUILD FAILED in 6s
Can anyone help pls
PS: I tried running it with stackrace and debug