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

Cannot build project in offline mode #250

Open
lcy0x1 opened this issue Oct 22, 2024 · 0 comments
Open

Cannot build project in offline mode #250

lcy0x1 opened this issue Oct 22, 2024 · 0 comments

Comments

@lcy0x1
Copy link

lcy0x1 commented Oct 22, 2024

In older versions, I can build project in offline mode as long as I have built the project in online mode once without editing build.gradle or related files. In NG 165, I'm no longer able to.

Here is the task output. I replaced path to my project folder with <project_path>

15:25:22: Executing ':classes :testClasses :clientClasses :commonClasses :dataClasses :serverClasses'...

> Task :cacheVersionManifest1.21.1 UP-TO-DATE
> Task :cacheVersionExecutableClient1.21.1 FAILED
2 actionable tasks: 1 executed, 1 up-to-date

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':cacheVersionExecutableClient1.21.1'.
> Failed to execute stage: Default[output=/<project_path>/.gradle/caches/minecraft/versions/1.21.1/client.jar, createsDirectory=false, execute=net.neoforged.gradle.common.tasks.MinecraftArtifactFileCacheProvider$$Lambda/0x0000000126c3e9f8@567975c]

* 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 639ms
15:25:23: Execution finished ':classes :testClasses :clientClasses :commonClasses :dataClasses :serverClasses'.

This is the project I test it on: https://github.com/Minecraft-LightLand/GlimmeringTales

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

No branches or pull requests

1 participant