Can anyone help me out with this error?

I AM ROOKIE PLEASE HELP ME OUT WITH THIS ERROR

FAILURE: Build failed with an exception.

  • Where:
    Initialization script ‘C:\Users\susha\AppData\Local\Temp\test_main__.gradle’ line: 21

  • What went wrong:
    A problem occurred configuring project ‘:app’.

Could not create task ‘:app:test.main()’.
SourceSet with name ‘main’ not found.

  • 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 480ms

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
See Command-Line Interface
15:08:14: Task execution finished ‘test.main()’.