I use Gradle for flutter, just updated it to 7.2. and I am in windows.
Running the Gradle command on the Command prompt returns me an error that I don’t have the ‘settings.gradle(.kts)’ file.
Before upgrading everything was smooth except the depreciated API warning. I have deleted the old gradle build so I cant get a reference.
I have searched the web but no one is able to answer.
Here is my complete error prompt-
C:\Users\bspma>gradle FAILURE: Build failed with an exception. * What went wrong: Executing Gradle tasks as part of a build without a settings file is not supported. Make sure that you are executing Gradle from a directory within your Gradle project. Your project should have a 'settings.gradle(.kts)' file in the root directory. * 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 1s
Will the issue be solved by downloading the Settings file from the git repo? Then where to place it?
I am sorry if I am posting the wrong things to the wrong location then please show me the right one.
Thanks for your time.