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
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>This is the project I test it on: https://github.com/Minecraft-LightLand/GlimmeringTales