With the given information, all help you can get is "scroll up". Your build calls a Java executable which exits with non-zero code and thus Gradle finishes with error. Hopefully that execution output the problem. If not, maybe you can gather more information with -i or -d, at least the command that is invoked, so that you could execute it manually maybe to see what happens.