Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't build the 1.21.1 branch in any way shape or form #4579

Open
BayTavukYT opened this issue Dec 8, 2024 · 4 comments
Open

I can't build the 1.21.1 branch in any way shape or form #4579

BayTavukYT opened this issue Dec 8, 2024 · 4 comments
Labels
question Further information is requested

Comments

@BayTavukYT
Copy link

I am trying to build the 1.21.1 branch and yes I have looked at almost all the issues opened and have looked at the SETUP.md files several times before. And I have tried VSCode, Git Bash, cmd and powershell but none worked and jave the result, I have tried Temurin JDK17, Temurin JDK21, and Temurin JDK22 (JDK21 and JDK17 got me the same results and from my understanding JDK22 isn't fully supported yet). Also I'm not a regular user of gradle or just command line applications in general.

Whenever I try building the project I always get an error at <-CONFIRGURING %16->
Here is the logs

@BayTavukYT BayTavukYT added the question Further information is requested label Dec 8, 2024
@ZacSharp
Copy link
Collaborator

ZacSharp commented Dec 8, 2024

Doesn't look like something I could diagnose. Maybe a problem with unimined, maybe with Gradle.+
I'd try again with --rerun-tasks and --refresh-dependencies (and potentially run gradle clean and gradle --stop before), if that doesn't help wipe project level caches (the build directory, but if that didn't help also .gradle and <loader>/.gradle) and if it still doesn't work wipe the user level cache (for me that's ~/.gradle).

Temuring JDK21 is what our CI for 1.21.1 uses so should be fine.

@BayTavukYT
Copy link
Author

May I ask how can I run gradle clean and gradle --stop because when I type these into either powershell or Git Bash it says that the command was not found. And after deleting the .cache and .gradle it just redownloaded a fresh Gradle then didn't start building entirely.

@qiuxiantao
Copy link

是的,我也无法使用任何方法构建,即使我使用了git云构建,使用了下面的解决方法,依然无法构建。

看起来不像我能诊断出来的。也许是 unimined 有问题,也许是 Gradle.+ 我会再试一次 and(并且可能运行之前),如果这无助于擦除项目级缓存(目录,但如果这也没有帮助 and),如果它仍然不起作用,则擦除用户级缓存(对我来说是)。--rerun-tasks``--refresh-dependencies``gradle clean``gradle --stop``build``.gradle``<loader>/.gradle``~/.gradle

Temuring JDK21 是我们 1.21.1 的 CI 使用的,所以应该没问题。

@ZacSharp
Copy link
Collaborator

Sorry for the very late reply, I currently can't even log in to GitHub when I'm not at home (temporarily unavailable 2nd factor).
If I can trust our build instructions on this you need to run gradlew on Windows or ./gradlew on Mac/Linux, not gradle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants