gs-gradle icon indicating copy to clipboard operation
gs-gradle copied to clipboard

Getting error in get-started doc

Open nilinswap opened this issue 3 years ago • 0 comments

I am getting an error on running gradle tasks.

Starting a Gradle Daemon (subsequent builds will be faster)

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 2s

I fixed this error adding a new file 'settings.gradle' as said in the output.

I am using gradle 7.2. I am adding a fix on this pr. Please point out if there is something off with this issue or some better way to solve this.

nilinswap avatar Sep 24 '21 19:09 nilinswap