I can't build the 1.21.1 branch in any way shape or form
BayTavukYT opened this issue · 4 comments
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
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.
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.
是的,我也无法使用任何方法构建,即使我使用了git云构建,使用了下面的解决方法,依然无法构建。
看起来不像我能诊断出来的。也许是 unimined 有问题,也许是 Gradle.+ 我会再试一次 and(并且可能运行之前),如果这无助于擦除项目级缓存(目录,但如果这也没有帮助 and),如果它仍然不起作用,则擦除用户级缓存(对我来说是)。
--rerun-tasks``--refresh-dependencies``gradle clean``gradle --stop``build``.gradle``<loader>/.gradle``~/.gradle
Temuring JDK21 是我们 1.21.1 的 CI 使用的,所以应该没问题。