Error while trying to build cscore in linux

I’m using this to compile
:~/cscore$ ./gradlew build

… but I’m having this error
FAILURE: Build failed with an exception.

  • What went wrong:
    java.lang.ExceptionInInitializerError (no error message)

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Anyone know how to fix it.

Can you run ./gradlew build --info so we can see what happened?