FAILURE: Build failed with an exception. * What went wrong: Could not determine java version from '10.0.2'. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Press any key to continue . . .