Problem with 'gradle -build' - strange response


(Wojciech Nadgłowski) #1

I receive very strange message, when trying to build a gradle project:

FAILURE: Build failed with an exception.

  • What went wrong: Build file ‘C:\Users\Wojtek\Desktop\Inny\uild’ does not exist.

It is very strange, when i rename the file from build.gradle to just uild and remove the file extension (!) everything works fine. Other commands need ‘build.gradle’. What went wrong?


(Perryn Fowler) #2

‘gradle -b uild’ means “run gradle using the build file ‘uild’”

perhaps you meant to type ‘gradle build’?