I am trying to setup modding for 1.15.2 using Eclipse. Whenever I try to use the gradlew commands, it gives me a Build Fail error. Attached to this is a screenshot I got of it. The window doesn't stay open long enough for me to copy the text, so this was all I could get.
The commands I have tried:
gradlew setupDecompWorkspace
gradlew genEclipseRuns
gradlew eclipse
gradlew --refresh-dependencies
gradlew clean
All of these give the same error.
The error says "Could not resolve all artifacts for configuration ':classpath'."