SpongePowered / VanillaGradle

A toolchain for Minecraft: Java Edition that builds a workspace to interact with the game using the official mappings provided to the public by Mojang Studios.
MIT License
89 stars 18 forks source link

Extract pipeline to be usable in SpongeVanilla's installer #33

Open zml2008 opened 3 years ago

zml2008 commented 3 years ago

VanillaGradle and the SpongeVanilla installer have to perform a lot of the same steps to produce a Minecraft server jar, and currently duplicate quite a lot (downloading, hash validation, version manifest handling, etc). VanillaGradle has also had a fair bit of work go into improving the remapping output and providing an efficient downloader, which would be nice to have available on the installer without having to copy & paste.

The current VanillaGradle pipeline is already fairly isolated from Gradle -- it should only need some basic restructuring in order to be flexible enough to handle the needs of the installer (resolve a versions.json, skip stripping shaded dependencies, no pre-baking of AWs).