Error with gradle 7.0 installation

C:\gradle-7.0>gradle

FAILURE: Build failed with an exception.

  • What went wrong:
    Executing Gradle tasks as part of an undefined build is not supported. Make sure that you are executing Gradle from a folder within your Gradle project. Your project should have a ‘settings.gradle(.kts)’ file in the root folder.

  • Try:
    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

BUILD FAILED in 2s

Like the error says, it appears your project does not have a settings.gradle or settings.gradle.kts file. Add one to the root project.

Or do you have a different question?