neoforged / NeoGradle

Gradle plugin for NeoForge development
GNU Lesser General Public License v2.1
44 stars 24 forks source link

Per-project caches use large amounts of disk space #15

Closed lukebemish closed 10 months ago

lukebemish commented 10 months ago

With old FG, forge and minecraft were cached universally in ~/.gradle/caches. With NG 7, neoforge and MC both are each downloaded and cached per project - that is, the client.jar, server.jar, client extra, neoforged, and neoforged sources are stored in the project-level .gradle cache of every project that uses neogradle. This is a really good way to eat up a ton of disk space, which FG was already bad enough at.

lukebemish commented 10 months ago

Actually, it's worse than that - there's stuff in build/neoForm that looks pretty big too

LlamaLad7 commented 10 months ago

Running clean also wipes the cache...

lukebemish commented 10 months ago

This issue should not be closed. NeoGradle still uses ~450 MiB of disk space per project, which is a definite improvement over the ~1 GiB it used to but is still an absolute ton.