Indium

Indium

26M Downloads

Error in cmd file

SourishGhosh7 opened this issue ยท 7 comments

commented
commented

I ran the gradlew file in my cmd but it gives a error as follows-

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

commented

Pls don't say to update Java and gradle they all are in latest version

commented

Also there is a settings.gradle file in the folder

commented

Did you remember to cd into the directory, sometimes I forget, so it is a possibility?

commented

Did you remember to cd into the directory, sometimes I forget, so it is a possibility?

See this know what is the need of cd I wrote the whole path

C:\Users\souri>C:\Users\souri\OneDrive\Desktop\Indium-1.16.x-main\gradlew build

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

commented

Maybe the issue is using it in one drive, try using it outside of onedrive

commented

Didn't work
I'll rather download artifacts
Thnx for ur patience