Open cczhouqi opened 2 years ago
@cczhouqi i was asked to try again as it may be some intermittent issue. pls check!
Hi prof, the error message shows every time I open the project (I tried to delete the files and clone again also). The same for Utilities code used in last lecture.
I'm using MacOS 11.6 and here's the error message showed when I tried to run the tp program. Does anyone know why this happens and how I can fix it? Thanks!
Christines-MacBook-Pro:tp christine$ java -version openjdk version "11.0.13" 2021-10-19 LTS OpenJDK Runtime Environment Corretto-11.0.13.8.1 (build 11.0.13+8-LTS) OpenJDK 64-Bit Server VM Corretto-11.0.13.8.1 (build 11.0.13+8-LTS, mixed mode) Christines-MacBook-Pro:tp christine$ ./gradlew
Welcome to Gradle 6.2!
Here are the highlights of this release:
For more details see https://docs.gradle.org/6.2/release-notes.html
FAILURE: Build failed with an exception.
Where: Build file '/Users/christine/Documents/Year 2/Sem 2/CS2113/tp/build.gradle' line: 5
What went wrong: Plugin [id: 'com.github.johnrengelman.shadow', version: '5.1.0'] was not found in any of the following sources:
Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
Plugin Repositories (could not resolve plugin artifact 'com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:5.1.0') Searched in the following repositories: Gradle Central Plugin Repository
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 2s