Closed vicelyav closed 1 month ago
Hmm... did anybody else face this? @vicelyav Are you able to ignore this and proceed, for the time being?
@damithc i cannot proceed with the A-Graddle for now and potentially other graddle-related increments. I will try to do other increments first.
@vicelyav Can you share a screenshot of the error? When exactly did it appear?
This is the error message:
This is the settings window in IntelliJ:
I merged my master branch with the "add-gradle-support" branch, and then go to the settings to confirm my java sdk version. The error automatically happens after I exited the settings screen.
I believe you are using the wrong gradle version as suggested by the error message and the version here.
I have cloned your repo and changed the gradle version to version 7.6.2 and it is able to run gradle build
with no issues.
The file changed is gradle-wrapper.properties in the wrapper directory within the gradle folder
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Hopefully this solves your issue 😄
Ah I see, it really worked. Thank you so much!
It's interesting though, since I merged it from the forked branch. I am pretty sure my jdk version is correct as well. What's the likely cause of this discrepancy?
Hmm 🤔 Looking at sourcetree, could it be the case that you merged the commit instead of the branch? That could be the reason why the updated gradle version commit were not added when you merged them.
Ok thank you. I will figure it out.
Just wanna add in, do try to put the error message in fenced codeblock. Makes things easier (and other forums might not be very nice about not doing it)
@vicelyav A gentle reminder to close this issue if the problem has been resolved. If not resolved yet, please post a comment explaining which part of the problem/question remains unresolved.
@vicelyav I'm closing this issue due to inactivity. Feel free to reopen if the issue is still unresolved.
Hi, I am in the process of setting-up gradle. However, I got an error message while loading it:
Your build is currently configured to use incompatible Java 17.0.11 and Gradle 6.2. Cannot sync the project.
We recommend upgrading to Gradle version 8.8.
The minimum compatible Gradle version is 7.2.
The maximum compatible Gradle JVM version is 13.
Possible solutions:
For context, I used my project directory "/Users/vicelyavisakha/Documents/CS2103/INDIVIDUAL PROJECT" as my gradle user home. The java version for my computer is Azul zulu 17.10.11. Any help would be appreciated. Thank you.
*Edit: I tested using another directory /Users/vicelyavisakha/.gradle as well and face the same issue