Background: I am trying to set up Gradle for use on my Mac.
Initial Steps: I installed Gradle using homebrew. I then tried verifying the installation with “$ gradle -v” and got the following message:
FAILURE: Build failed with an exception. * What went wrong: ch.qos.logback.classic.LoggerContext cannot be cast to org.gradle.internal.logging.slf4j.OutputEventListenerBackedLoggerContext * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. * Get more help at https://help.gradle.org
When I run the same command with the --stacktrace, --info, or --debug tag I get the exact same output. I also tried exporting the PATH of the gradle bin directory by putting the following in my ~/.bash_profile:
Unfortunately this did not help in any way. Please let me know if you know how to fix this or have any ideas.
Thanks in advance.