MinecraftForge / ForgeGradle

Minecraft mod development framework used by Forge and FML for the gradle build system
GNU Lesser General Public License v2.1
514 stars 443 forks source link

FG3 server pipeline missing download version JSON #517

Closed Earthcomputer closed 5 years ago

Earthcomputer commented 6 years ago

To reproduce, take a similar buildscript as the one in Forge's 1.13-pre branch at the moment, and replace the line pipeline = 'joined' with pipeline = 'server'. Then, running gradlew setup gives the following error:

Could not find a step of type net.minecraftforge.gradle.mcp.function.DownloadVersionJSONFunction

This is due to https://github.com/MinecraftForge/ForgeGradle/blob/FG_3.0/src/mcp/java/net/minecraftforge/gradle/mcp/function/AbstractDownloadMCFunction.java#L21 assuming that the pipeline contains a function to download version json, which the server pipeline is currently missing.

LexManos commented 5 years ago

Fixed in MCP config, and small hack fix in FG until I push replacements.