Im getting compile java error when i build a minecraft client

Task :compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:compileJava’.

Compilation failed; see the compiler error output for details.

What is the compiler output? It should be shown in Gradle’s output above what you’ve posted.